-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
'Invalid Swift Support' email from iTunes when submitting with Xcode 7 GM & Cocoapods #4188
Comments
Stackoverflow workaround works for me |
Just edited my original issue to make it clear where I think Cocoapods might be aggravating things. |
Does CocoaPods 0.39.0.beta.4 fix this issue or we need to follow the workaround ? |
It doesn't fix it that I'm aware of.
|
I really hope cocoapods would fix this issue soon. |
Really annoying. Please fix! |
Piling onto the issue won't get it fixed any faster. At the moment, most of the team is very busy dealing with different pieces of travel, so the fastest way to get a fix landed would be to submit a PR. |
@earltedly Commenting out those lines solved the issue for you? How are you building your app? Just archiving via Xcode? Or using something like |
I am also experiencing this problem and have only tried the StackOverflow workaround, but it's good to know there might be a root cause from the CocoaPods script. |
As @earltedly suggested, commenting out the following lines in
I feel like the fix isn't this simple tho. Is Xcode 7 taking care of copying the appropriate Swift runtime libraries now? @segiddins I'll create a pull request with this solution then. |
@djtarazona I think a possible edge-case would be a scenario where you have a purely Objective-C project which makes use of cocoa pods containing Swift frameworks. I believe there's a build setting which tells Xcode about this |
@earltedly, my project is 100% swift2 project. |
Same here :) |
have you tried using this branch? #4221 |
This branch did the trick thanks |
The workaround works, but it's annoying to do each time :/ Another thing to add up, when I submit the app the processing phase is never finished ! |
FYI...updated to 0.39.0.beta.4 and still the same issue invalid swift support when I try to submit to the app store for beta testing. Currently using the latest xcode 7 and code is written in swift. I tried various hacks and nothing seems to fix this issue. Invalid Swift Support - The files libswiftWebKit.dylib, libswiftCoreLocation.dylib don’t match /Payload/.app/Frameworks/libswiftWebKit.dylib, /Payload/.app/Frameworks/libswiftCoreLocation.dylib. |
With 0.39.0.beta.4 still having the same problem. When can we test this ? next release ? |
I don't believe we need any more info on this for now — you can use the branch from #4221 as a workaround, see https://guides.cocoapods.org/using/unreleased-features on more info how to do it. |
Problem
Since building with Xcode 7 GM, I'm getting the following email back from Apple which fails submission:
Workaround
There's a workaround on Stackoverflow which seems to work:
Products/Applications/YourApp.ipa/Frameworks/
andSwiftSupport/iphoneos/
libswiftXxx.dylib
files fromSwiftSupport/iphoneos/
intoProducts/Applications/YourApp.ipa/Frameworks/
and overwriteCocoapods relevance
I had a look around in
Pods-frameworks.sh
and found a section commented as:Commenting the block of code which copies these libraries across (and code signs them) seems to have fixed my submission woes. I've not dived in deeper yet to see if it's just the copying of them which causes the issues or if it's the code-signing. I'm getting a bit out of my depth there.
The text was updated successfully, but these errors were encountered: