Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Appboy-iOS-SDK 4.4.3 + not Archiving with Bitrise #344

Closed
SweatSzemis opened this issue Jun 3, 2022 · 3 comments
Closed

[Bug]: Appboy-iOS-SDK 4.4.3 + not Archiving with Bitrise #344

SweatSzemis opened this issue Jun 3, 2022 · 3 comments
Labels

Comments

@SweatSzemis
Copy link

Platform

iOS

Platform Version

iOS 13 +

Braze SDK Version

4.3.0

Xcode Version

Xcode 13.4

Integration Method

Cocoapods

Computer Processor

Intel

Repro Rate

100%

Steps To Reproduce

We use bit-rise to automate the iOS deployment process and one of those steps is xcode-archive

This process worked for Appboy-iOS-SDK version 4.4.2 however not for the latest version 4.4.3

Here is the error message I receive:
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1316.0.21.2.3_0' Reader: '1300.0.29.3_0')', using libLTO version 'LLVM version 13.0.0, (clang-1300.0.29.3)' for architecture arm64

So currently we use version 4.4.2

Expected Behavior

Automatic Archiving in Bit-rise runs successfully

Actual Incorrect Behavior

Automatic Archiving in Bit-rise fails

Verbose Logs

▸ Linking Appboy_iOS_SDK
❌  ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1316.0.21.2.3_0' Reader: '1300.0.29.3_0')', using libLTO version 'LLVM version 13.0.0, (clang-1300.0.29.3)' for architecture arm64
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Additional Information

No response

@SweatSzemis SweatSzemis added the bug label Jun 3, 2022
@hokstuff
Copy link
Collaborator

hokstuff commented Jun 3, 2022

Hi @SweatSzemis,

It looks like the bitcode error you're getting is related to the Xcode version being used. The Braze SDK version 4.4.3 was released with Xcode 13.3.1 (13E500a). Can you double check that the version Bitrise is using in your CI is Xcode 13.3.1 or higher?

Thanks!

@hokstuff
Copy link
Collaborator

I'm closing out this issue due to inactivity. If you are still experiencing issues, please reopen or reach out to support@braze.com directly - thanks!

@SweatSzemis
Copy link
Author

I was using the Bitrise step Xcode Archive & Export for iOS. However based on your feedback I noticed that the Stack setting for the workflow was defaulted to Xcode 13.0.x

Updating The Stack setting to Xcode 13.4.x enabled the archiving to complete successfully.

@SweatSzemis SweatSzemis changed the title [Bug]: [Bug]: Appboy-iOS-SDK 4.4.3 + not Archiving with Bitrise Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants