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] Unable to use the released 3.1.5 xcframework build with my application, error when archiving: "bitcode bundle could not be generated" #127

Open
TilakGondi opened this issue Oct 28, 2021 · 0 comments

Comments

@TilakGondi
Copy link

Describe the bug
I am integrating the azurenotificationhub SDK with my framework project, when I create the archive for simulator architecture of my framework I get the error - "ld: bitcode bundle could not be generated because '/Users/xxxxxx/Library/Developer/Xcode/DerivedData/MySDK-dozgbwlspdaldbhkykrfqephjqxb/Build/Intermediates.noindex/ArchiveIntermediates/AuthSDK/BuildProductsPath/Release-iphonesimulator/WindowsAzureMessaging.framework/WindowsAzureMessaging(SBNotificationHub.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"

Exception or Stack Trace
"ld: bitcode bundle could not be generated because '/Users/xxxxxx/Library/Developer/Xcode/DerivedData/MySDK-dozgbwlspdaldbhkykrfqephjqxb/Build/Intermediates.noindex/ArchiveIntermediates/AuthSDK/BuildProductsPath/Release-iphonesimulator/WindowsAzureMessaging.framework/WindowsAzureMessaging(SBNotificationHub.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"

To Reproduce
Steps to reproduce the behavior:
Integrate the WindowsAzureMessaging.xcframework with project and try to generate the archive from command line using the "xcodebuild archive -scheme MySDK -destination "generic/platform=iOS Simulator" -archivePath "../MySDKFramework/MySDK-iphonesimulator" SKIP_INSTALL=NO ENABLE_BITCODE=YES"

Expected behavior
I need to generate the .xcarchive for my project with ENABLE_BITCODE=YES. So that I can create the xcframework version of my SDK.

Setup (please complete the following information):

  • OS: iOS 15.0
  • IDE : Xcode 13.0
  • Version of the Library used : 3.1.5

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [*] Bug Description Added
  • [*] Repro Steps Added
  • [*] Setup information Added
@TilakGondi TilakGondi changed the title Unable to use the released 3.1.5 xcframework build with my application, error when archiving: "bitcode bundle could not be generated" [BUG] Unable to use the released 3.1.5 xcframework build with my application, error when archiving: "bitcode bundle could not be generated" Oct 28, 2021
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

No branches or pull requests

1 participant