-
-
Notifications
You must be signed in to change notification settings - Fork 600
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
Building through Carthage due to missing XCTest incompatibility with Bitcode #213
Comments
PR #210 has more info. I see the same issue, and so far, I use the zipped binaries attached to the latest release. |
Are you testing on the simulator or on device? |
I want to be able to test on simulator of course. Basically, framework does not build when running carthage update, but build succeeds if i take Nimble.xcodeproj and drop it into my project. |
It's not working for me for TVOS either. Right now I'm just appending |
Carthage wants to build for both device and simulator platforms into one binary. I'm not sure if there's anything we can do. It's probably better to file a radar to apple about this. A second-best solution is to see if the carthage team would want to address this. |
So what's the best way to this right now? Not use Carthage for Quick and Nimble? Any suggestions here? |
Here's a summary of the current status:
You can work around this by:
I think Nimble should also be able to attach pre-built frameworks to its GitHub releases for Carthage to use. If the tvOS framework included there doesn't have a device slice, then I think things will work. I don't think there's an easy way for Carthage to work around this. If anyone has a good idea for how to detect it generally—not special casing for Ideally, Apple would include bitcode in XCTest so that this wouldn't be a problem. |
I don't think it's a good idea to make prebuilt frameworks until Swift 3.0 is released and is ABI-stable, Apple recommends against it. I was able to use Nimble from Carthage by using submodules, and including Nimble xcodeproj in my xcodeproj, thus building from source. So,
command will fail, however it will successfully fetch all required dependencies. After initial install, I use
Or update submodules to fetch latest source. It seems like an Apple stuff that needs to be fixed by including bitcode for tvOS. |
You can use |
Carthage 0.17 is out now and has a change to work around this issue. |
Hi!
I'm using Carthage dependency manager and Nimble. While trying to install Nimble, here's output i get:
I opened Nimble.xcodeproj, and tried to build Nimble-tvOS framework, it fails with following output:
I'm using XCode 7.1, carthage 0.9.3 and trying to pull Nimble v3.0.0 or master branch.
Any idea what is going on? Thanks in advance.
The text was updated successfully, but these errors were encountered: