I know there are similar questions are out there! But, they are old. We have released to iTunes before, never faced an issue. We have bunch of sub projects and also cocoapods. Not sure what could be the issue.
Invalid Swift Support - Files don't match Xcode 10.1
2k Views Asked by Dheeraj At
1
There are 1 best solutions below
Related Questions in XCODE
- Using Storyboard Reference
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Error when creating UIImage
- fade in an bounce animation subview
- How to delete static library ".a" file from xcode project?
- Error in main.storyboard
- Is the compiler Xcode uses to produce Assembly code a bad compiler?
- Using paths bonded to a XCode project to be shared
- How to set the time of Local notification in app to random between two times? (swift)
- "Invalid Signature, code object not signed at all" error
- Alarming memory increase with custom segue
- Display both alertTitle and AlertBody on a custom WatchKit notification
- How to make a CocoaPods project work on OS X El Capitan & Xcode 7 Beta?
- Cannot use CTRL+Drag for making a button action in Xcode?
- Labels properties changing in Xcode
Related Questions in XCODEBUILD
- xcodebuild setting parameter equivalent in Xcode GUI build?
- How to build a workspace with frameworks from command line with overridden non-wildcard PROVISIONING_PROFILE
- Xcode 8.2, Swift Compiler Error: error: unexpected input file
- xcodebuild error on file path
- Bitrise.io scheme not found
- xcodebuild test-without-building. How to override test run parameters from command line
- Xcode 8 and exportPath
- Configuring Xcode project to be built with specific build tools version
- xcodebuild flag overrides code signing for pods project targets
- xcodebuild error - SecKey API returned: -25308
- Specify individual target build settings with xcodebuild
- Import CommmonCrypto library to Swift project
- xcodebuild fails to create Archive due to SymLink error with Alamofire
- Build bundle using xcodebuild
- Order of library search path entries
Related Questions in XCODE10
- Model is running iOS 10.2 (14C92), which may not be supported by this version of Xcode
- Xcode 10 with iOS 14 device - An error was encountered while attempting to communicate with this device. (The service is invalid.)
- Having Xcode Certificate Issues
- Cannot call value of non-function type 'URL'
- Why does custom NSView redraw when window is resized or moved (drag) to an secondary display (monitor)?
- Xcode 10 not pushing using ssh
- Swift 4.2 SafeAreaLayoutGuide frame is the same as view.frame on View Did Load
- Xcode 10 says no App Store connect access for team and application loader says no CFbundle ID
- Wrong team/provisionning profile when using xcodebuild command
- Conforming to protocol - adding protocol stubs again and again doesn't fix the error
- Xcode 10 crashes on opening the specific project with unrecognized selector sent to class exception
- UISearchBar prompt appears ON the bar, not at top of it
- Framework imported properly but still getting _OBJC_CLASS_ compiler error
- Letting a nested enum, passed as generic to superclass, conform to a protocol inline with its declaration results in infinite compiling
- Xcode 10 - "Unknown Name" for team
Related Questions in XCODE-COMMAND-LINE-TOOLS
- Cocoapods + Command Line Tool - dyld: Library not loaded: @rpath/Realm.framework/Versions/A/Realm
- How to downgrade command line tools MacOS
- Find out the path location to Command Line Tools for Xcode
- How can a command line tool print the help text and automatically get the behavior with piping to the more command?
- macOS Big Sur python3 cannot import numpy due to polyfit error
- Apple command line tools vs XCode command line tools?
- Building ncnn with Xcode Command Line Tools
- `Executed 0 tests, with 0 failures (0 unexpected)` when running individual test cases in Xcode
- GPerfTools not showing function names
- 'fatal error: 'wchar.h' file not found' error with the new macos 11.3 update
- Invalid Swift Support - Files don't match Xcode 10.1
- Where is xcode command line tools installed to when using the downloaded pkg file?
- Mac install command line tools for xcode with iOS SDK
- Installing Xcode command line tools
- Terminal does not find the installed Xcode
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Xcode 10.1 has this line in the release notes:
In our case, this was the key to fixing it. Our CI uses xcodebuild to compile and archive the IPA, and then uses fastlane to upload it. The first step is to unzip the IPA archive.
Doing that gives us the Swift standard libraries in a SwiftSupport folder and in the application's frameworks folder. Using that release note as a hint, we found that the standard libraries in Xcode 10.1 are shipped with 4 architectures:
Note the last one, which is in an unknown architecture. That's arm64e. If you upload with these files as is, TestFlight/iTunesConnect will reject your binary with the message you are getting.
For us, the solution was to copy over the standard libraries, use
lipoto remove the arm64e slice, then sign them with our distribution certificate. Then we can repackage the IPA archive and upload it.Hope that helps. It's not clear how you are building your application for submission, so this might be tougher for you to deal with, but for us it wasn't hard to modify our build scripts once we realized what was going on.