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

Compile fails with Unity Cloud: Invalid Bitcode #23

Closed
asarazan opened this issue May 23, 2016 · 3 comments
Closed

Compile fails with Unity Cloud: Invalid Bitcode #23

asarazan opened this issue May 23, 2016 · 3 comments

Comments

@asarazan
Copy link

This currently occurs on 7.5.0

Relevant Snippet:

7789:        [xcode]     export PATH="/APPLICATION_PATH/Xcode7_0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode7_0.app/Contents/Developer/usr/bin:/BUILD_PATH/.rvm/gems/ruby-2.1.1/bin:/Users/buildbot/.rvm/gems/ruby-2.1.1@global/bin:/Users/buildbot/.rvm/rubies/ruby-2.1.1/bin:/Applications/Android Studio.app/sdk/:/Users/buildbot/bin/:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin:/Applications/Android Studio.app/sdk/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/buildbot/.rvm/bin:/Users/buildbot/.mason/buildpacks/unity/libs/vendor/jsawk:/Users/buildbot/.mason/buildpacks/xcode/libs/vendor/jsawk"
7790:        [xcode] ld: warning: arm64 function not 4-byte aligned: ltmp0 from /BUILD_PATH/mut8d.poker.default-ios/temp.XCrW4Y/Libraries/libiPhone-lib.a(PLCrashAsyncThread_current-5565F35D16E4818B.o)
7791:        [xcode] ld: warning: arm64 function not 4-byte aligned: _plcrash_async_thread_state_current from /BUILD_PATH/mut8d.poker.default-ios/temp.XCrW4Y/Libraries/libiPhone-lib.a(PLCrashAsyncThread_current-5565F35D16E4818B.o)
7792:        [xcode] Ld build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/pokerpop normal armv7
7793:        [xcode]     cd /BUILD_PATH/mut8d.poker.default-ios/temp.XCrW4Y
7794:        [xcode]     export IPHONEOS_DEPLOYMENT_TARGET=9.1
7795:        [xcode]     export PATH="/APPLICATION_PATH/Xcode7_0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode7_0.app/Contents/Developer/usr/bin:/BUILD_PATH/.rvm/gems/ruby-2.1.1/bin:/Users/buildbot/.rvm/gems/ruby-2.1.1@global/bin:/Users/buildbot/.rvm/rubies/ruby-2.1.1/bin:/Applications/Android Studio.app/sdk/:/Users/buildbot/bin/:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin:/Applications/Android Studio.app/sdk/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/buildbot/.rvm/bin:/Users/buildbot/.mason/buildpacks/unity/libs/vendor/jsawk:/Users/buildbot/.mason/buildpacks/xcode/libs/vendor/jsawk"
7796:        [xcode] ld: object contains invalid bitcode: /BUILD_PATH/mut8d.poker.default-ios/temp.XCrW4Y/Frameworks/FacebookSDK/Plugins/iOS/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareVideo.o) for architecture armv7
7797:        [xcode] clang: error: linker command failed with exit code 1 (use -v to see invocation)
7798:        [xcode] ** BUILD FAILED **
7799:        [xcode] The following build commands failed:
7800:        [xcode]    Ld build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/pokerpop normal armv7
7801:        [xcode] (1 failure)
@swiese
Copy link
Contributor

swiese commented May 23, 2016

Please report bugs to https://developers.facebook.com/bugs

@swiese swiese closed this as completed May 23, 2016
@ekilah
Copy link

ekilah commented Jul 6, 2016

was this fixed @swiese or @asarazan ? if so, can you link me to the facebook bug report and/or give a description of how this was fixed? we're getting reports of people seeing this on cloud build for our SDK also

@asarazan
Copy link
Author

asarazan commented Jul 6, 2016

@ekilah uncertain. I gave up with cloud build a while ago and started doing local builds instead. Not an option for everybody unfortunately :-(

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

3 participants