Posts: 16
Threads: 4
Joined: Apr 2020
Reputation:
0
13-04-2020, 01:48 AM
(This post was last modified: 13-04-2020, 02:02 AM by dylanrw.)
I've been attempting to build my project using Unity Cloud Build and it would seem the object files included in the latest package are incompatible with the newest XCode in cloud build? I get the following error:
Code: /Libraries/Obi/Plugins/iOS/libOni.a(Oni.o), could not parse object file ------redacted------/Libraries/Obi/Plugins/iOS/libOni.a(Oni.o): 'Invalid bitcode version (Producer: '1103.0.32.29.0_0' Reader: '1100.0.33.17_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.17)' for architecture arm64
68: ▸ ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is my thinking correct? If so, what version of XCode, etc. should I be using?
Thanks!
(13-04-2020, 01:48 AM)dylanrw Wrote: I've been attempting to build my project using Unity Cloud Build and it would seem the object files included in the latest package are incompatible with the newest XCode in cloud build? I get the following error:
Code: /Libraries/Obi/Plugins/iOS/libOni.a(Oni.o), could not parse object file ------redacted------/Libraries/Obi/Plugins/iOS/libOni.a(Oni.o): 'Invalid bitcode version (Producer: '1103.0.32.29.0_0' Reader: '1100.0.33.17_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.17)' for architecture arm64
68: ▸ ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is my thinking correct? If so, what version of XCode, etc. should I be using?
Thanks!
It looks to me like you built this using Xcode 11.4, while Cloud Build only supports up to 11.3.1.
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
13-04-2020, 08:02 AM
(This post was last modified: 13-04-2020, 08:02 AM by josemendez.)
Hi,
We generally build releases with the latest available XCode. Obi Rope 5.2 was compiled with 11.3, if you need version 5.2 write to support(at)virtualmethodstudio.com and we'll send it to you.
Posts: 16
Threads: 4
Joined: Apr 2020
Reputation:
0
Posts: 1
Threads: 0
Joined: Apr 2020
Reputation:
0
26-04-2020, 10:37 PM
(This post was last modified: 26-04-2020, 10:40 PM by danilocastro.)
(13-04-2020, 08:02 AM)josemendez Wrote: Hi,
We generally build releases with the latest available XCode. Obi Rope 5.2 was compiled with 11.3, if you need version 5.2 write to support(at)virtualmethodstudio.com and we'll send it to you.
Hi Jose,
I'm using XCODE 11.3.1 and Obi Fluid 5.3 and getting the same error.
(Producer: '1103.0.32.29.0_0' Reader: '1100.0.33.17_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.17)' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Already send you an email... but if you're seeing this right now, please point me the directions, because I'm need to deliver a projeto ASAP and got this error by the last minute.
Tks,
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
26-04-2020, 11:04 PM
(This post was last modified: 26-04-2020, 11:05 PM by josemendez.)
(26-04-2020, 10:37 PM)danilocastro Wrote: Hi Jose,
I'm using XCODE 11.3.1 and Obi Fluid 5.3 and getting the same error.
(Producer: '1103.0.32.29.0_0' Reader: '1100.0.33.17_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.17)' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Already send you an email... but if you're seeing this right now, please point me the directions, because I'm need to deliver a projeto ASAP and got this error by the last minute.
Tks,
Hi,
5.3 was built with 11.4, but there's a bug in XCode 11.4 that prevents the linker to finish (see http://obi.virtualmethodstudio.com/forum...p?tid=2124). As a result of bitcode versions not being backwards compatible, you can't use 11.4 and 5.3 together.
To deploy to iOS using XCode 11.3.1, you need to use Obi 5.1. Write to support(at)virtualmethodstudio.com, I will send it to you.
Posts: 3
Threads: 0
Joined: Aug 2020
Reputation:
0
Hi, I get this error using Obi 5.3 and Xcode 11.3:
ld: in /Users/burcucoskunsengul/Desktop/Unity Builds/BeadsOnRope/Libraries/Obi/Plugins/iOS/libOni.a(Oni.o), could not parse object file /Users/burcucoskunsengul/Desktop/Unity Builds/BeadsOnRope/Libraries/Obi/Plugins/iOS/libOni.a(Oni.o): ’Invalid bitcode version (Producer: ‘1103.0.32.29.0_0’ Reader: ‘1100.0.33.16_0’)’, using libLTO version ‘LLVM version 11.0.0, (clang-1100.0.33.16)’ for architecture arm64
What should I do?
Thanks
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
(27-08-2020, 01:26 AM)Elestin Wrote: Hi, I get this error using Obi 5.3 and Xcode 11.3:
ld: in /Users/burcucoskunsengul/Desktop/Unity Builds/BeadsOnRope/Libraries/Obi/Plugins/iOS/libOni.a(Oni.o), could not parse object file /Users/burcucoskunsengul/Desktop/Unity Builds/BeadsOnRope/Libraries/Obi/Plugins/iOS/libOni.a(Oni.o): ’Invalid bitcode version (Producer: ‘1103.0.32.29.0_0’ Reader: ‘1100.0.33.16_0’)’, using libLTO version ‘LLVM version 11.0.0, (clang-1100.0.33.16)’ for architecture arm64
What should I do?
Thanks
Use Obi 5.4 or 5.5. 5.5 is available in the store, I can send you 5.4 if you wish, just write to support(at)virtualmethodstudio.com
kind regards,
Posts: 3
Threads: 0
Joined: Aug 2020
Reputation:
0
(27-08-2020, 07:33 AM)josemendez Wrote: Use Obi 5.4 or 5.5. 5.5 is available in the store, I can send you 5.4 if you wish, just write to support(at)virtualmethodstudio.com
kind regards,
Hi, thanks for your reply. Upgrading to 5.5 solved some of my problems with Obi. But I needed to upgrade Unity to use Obi 5.5 and now I get another linker problem while archiving since my Xcode version is 11.3. I should probably upgrade my Xcode to the latest stable version (11.6). Does Obi 5.5 work with Xcode 11.6?
Thanks
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
(27-08-2020, 03:17 PM)Elestin Wrote: Hi, thanks for your reply. Upgrading to 5.5 solved some of my problems with Obi. But I needed to upgrade Unity to use Obi 5.5 and now I get another linker problem while archiving since my Xcode version is 11.3. I should probably upgrade my Xcode to the latest stable version (11.6). Does Obi 5.5 work with Xcode 11.6?
Thanks
Hi,
Xcode 11.4-11.6 have a bug in the linker that prevents linking against static libs using C++11, this bug was fixed in XCode 12 beta 1. So you're forced to use Xcode 11.3.1 until Xcode 12 goes out of beta. See: http://obi.virtualmethodstudio.com/forum...-2124.html
Building/archiving using Obi 5.5 and Xcode 11.3.1 should pose no problem. What's the linker error you're getting?
Posts: 3
Threads: 0
Joined: Aug 2020
Reputation:
0
27-08-2020, 06:03 PM
(This post was last modified: 27-08-2020, 06:26 PM by Elestin.)
(27-08-2020, 03:25 PM)josemendez Wrote: Hi,
Xcode 11.4-11.6 have a bug in the linker that prevents linking against static libs using C++11, this bug was fixed in XCode 12 beta 1. So you're forced to use Xcode 11.3.1 until Xcode 12 goes out of beta. See: http://obi.virtualmethodstudio.com/forum...-2124.html
Building/archiving using Obi 5.5 and Xcode 11.3.1 should pose no problem. What's the linker error you're getting? Hi I get this error:
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/burcucoskunsengul/Desktop/Unity Builds/BeadsOnRope/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: could not reparse object file in bitcode bundle: ’Invalid bitcode version (Producer: ‘1103.0.32.29.0_0’ Reader: ‘1100.0.33.16_0’)’, using libLTO version ‘LLVM version 11.0.0, (clang-1100.0.33.16)’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can build but I can't archive. I don't think this error is related to Obi. I tried disabling bitcode by as suggested in many other forums, but it didn't solve my problem.
Thanks
(27-08-2020, 06:03 PM)Elestin Wrote: Hi I get this error:
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/burcucoskunsengul/Desktop/Unity Builds/BeadsOnRope/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: could not reparse object file in bitcode bundle: ’Invalid bitcode version (Producer: ‘1103.0.32.29.0_0’ Reader: ‘1100.0.33.16_0’)’, using libLTO version ‘LLVM version 11.0.0, (clang-1100.0.33.16)’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can build but I can't archive. I don't think this error is related to Obi. I tried disabling bitcode by as suggested in many other forums, but it didn't solve my problem.
Thanks
Ok, I managed to archive successfully. Disabling bitcode is the right way to go. But the problem was disabling bitcode in the project's build settings wasn't enough. I also needed to change the target to UnityFramework and disable bitcode there too. Now I successfully archived, but I get another error during the upload process. I don't think it is related to Obi anymore.
Thanks for the help!
|