Skip to content

Update build scripts and add debug symbols to fix the build archive step#57

Merged
emdobrin merged 7 commits intoadobe:mainfrom
addb:buildFixes
Dec 18, 2021
Merged

Update build scripts and add debug symbols to fix the build archive step#57
emdobrin merged 7 commits intoadobe:mainfrom
addb:buildFixes

Conversation

@addb
Copy link
Copy Markdown
Collaborator

@addb addb commented Dec 2, 2021

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@addb addb changed the base branch from main to dev-v3.0.4 December 2, 2021 03:01
@addb addb linked an issue Dec 2, 2021 that may be closed by this pull request
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 2, 2021

Codecov Report

Merging #57 (7a1b28b) into dev-v3.0.4 (7202480) will decrease coverage by 1.27%.
The diff coverage is 93.75%.

@@              Coverage Diff               @@
##           dev-v3.0.4      #57      +/-   ##
==============================================
- Coverage       91.20%   89.93%   -1.27%     
==============================================
  Files              13       13              
  Lines            1170     1082      -88     
==============================================
- Hits             1067      973      -94     
- Misses            103      109       +6     

Copy link
Copy Markdown
Contributor

@cdhoffmann cdhoffmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this. The only comment i have is about the changes in the readme. I think it could be worded a little better. Something like:
"First run make pod-install to ensure dependencies are installed. Then run make archive from the root directory to generate .xcframeworks for each module under the build folder. Drag and drop all .xcframeworks to your app target in Xcode.

@emdobrin
Copy link
Copy Markdown
Contributor

emdobrin commented Dec 6, 2021

@cdhoffmann the archive command also runs pod update https://github.com/adobe/aepsdk-analytics-ios/pull/57/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R33 so I think this additional comment is not necessary

@cdhoffmann
Copy link
Copy Markdown
Contributor

@emdobrin Good call. We can probably just leave the readme as it was before this PR then.

@cdhoffmann cdhoffmann self-requested a review December 17, 2021 00:33

format:
swiftformat . --swiftversion 5.2
swiftformat . --swiftversion 5.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to specify the version L42 and L52?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we need the version
warning: No Swift version was specified, so some formatting features were disabled. Specify the version of Swift you are using with the --swiftversion option, or by adding a .swift-version file to your project.

@emdobrin emdobrin changed the base branch from dev-v3.0.4 to main December 18, 2021 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make archive fails

3 participants