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
Targets built with coverage data in Xcode 9 #2056
Comments
Thanks for filing the issue! I've submitted #2057 to address this. |
Wow, that was fast, thanks! |
Looks like we will not be able to make |
Running into the same issue. |
I forked these two repositories, disabled coverage data and edited my Cartfile to use the forked versions: https://github.com/dbmrq/RSBarcodes_Swift/commit/4306df0f32b251929117a366d67883fd3b6a25d8 https://github.com/dbmrq/SWXMLHash/commit/2f58a1981d09fee9908feac5b092c89312e8e7ed I'm still getting the "Disallowed LLVM instrumentation" error though. Is there anything else I have to do? :/ |
I'm having the same issue. Tried the same as @dbmrq, still getting the error from iTC. |
I don't know much about how Carthage works, so I'm sorry if this is a silly question, but wouldn't it be possible for Carthage to use the Archive action when building the frameworks? With the 2 frameworks I mentioned above I just disabled the I looked around here and found this: #833 (comment) So it seems this was an option for @mdiep. Why was it dismissed? |
From #169 (comment) — referred to by @ikesyo in #2057 (comment):
|
Ah, I don't know how I missed that. It seems that the I just don't understand the simulator SDK part… that doesn't even come up for me: iOS/RSBarcodes_Swift [master] > xcodebuild archive -scheme RSBarcodes
=== BUILD TARGET RSBarcodes OF PROJECT RSBarcodes WITH CONFIGURATION Release ===
Check dependencies
Write auxiliary files
# …
** ARCHIVE SUCCEEDED ** |
Preventing the Carthage behavior to merge device and simulator builds into “one fat binary”,
|
Ah, I see. I didn't realize Carthage required the targer to be built for the simulator. We're back to the first question then, why it still doesn't work after disabling coverage data. |
@dbmrq I went to the As for the |
@frankschlegel Aha! I checked the About
|
@dbmrq I manually set the "Enable Code Coverage Support" to NO on all dependencies and it worked :) |
Because of Carthage/Carthage#2056
Fixes app submission with Xcode 9 See Carthage/Carthage#2056
Fixes app submission with Xcode 9 See Carthage/Carthage#2056
0.26 has been released. |
Update Carthage libraries to work around issue: Carthage/Carthage#2056
Hey @ikesyo -Thanks so much for the update. Am I right in my understanding that the |
…#129) * Fixed the App Store submission issue with Carthage and coverage data. See Carthage/Carthage#2056
After running some tests with Carthage 0.26.2, seems like the issue is still there. With Code Coverage enabled in the schemes, the
Removing Code Coverage on the schemes seems to be the only way for the symbols to disappear:
|
@eneko I think those are from simulator slices and they will be stripped by |
Thanks for the reply. We'll try again on Monday, hopefully it will work :) |
This issue is still there for me with v 0.27.0 for:
UPDATE: OK - I see #2057 That does fix the problem but I need to remember to specify the release configuration:
|
Carthage uses |
Update Carthage libraries to work around issue: Carthage/Carthage#2056
One of my test builds I just submitted to iTunes Connect (built with Xcode 9) failed processing with the following message:
This is caused by this issue. The new Xcode seems to build coverage data into all builds, not only for testing. From the changelog:
When building frameworks during the "Archive" action Xcode seems to handle that. But since Carthage dependencies are built externally and copied into the bundle later, they still contain coverage data.
Somehow the Carthage build process needs to make sure that gathering coverage data is disabled during build, even though it's enabled in the project.
The text was updated successfully, but these errors were encountered: