Error exporting Xcode archive since version 13.2.1 - xcode

We have been getting an error in exporting an archive since the release of Xcode 13.2.1, and are also seeing it in 13.3. (13.1 works great)
The error is:
Reached end of file while looking for: Mach-O slice.
I get this when exporting on our jenkins/fastlane server as well on my development machine.
Curious if anyone has found a solution for this?

It can be an internal issue with malformed library files, try to reload it.
You can try: export_xcargs: "-allowProvisioningUpdates"

Related

DVTPlugInManager: Required plug-in compatibility not present

Keep seeing this error log from the terminal when pushing to git repo lately. I think it is due to fact that I updated to Xcode 9.2 or macOS High Sierra.
2017-11-29 07:49:30.580 xcodebuild[1558:49212] [MT] DVTPlugInManager: Required plug-in compatibility UUID C3998872.. for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present
Any idea what it means and how to resolve this?
It sounds like you have an old Xcode plugin installed. I had this same error and I found the old plugin located in
~/Library/Developer/Xcode/Plug-ins/
The file name was KSImageNamed.ideplugin
I'd recommend deleting the file.

'hello/Hello.h' file not found - Trying to build/run iOS gomobile Hello app

I am building the gomobile Hello example app, but am running into the following problem: When trying to build and run the app after opening it in Xcode (7.1), I get the error 'hello/Hello.h' file not found'
From what I can tell, Hello.h is in fact in the hello folder of the native directory.
Following this discussion on Github, it seems like this is due to a recent change in the way Xcode 7 updates paths for the headers.
The proposed solution is to check Copy items if needed when importing the framework:
I can confirm that this fixes the issue. But note that you would then need to re-import the framework every time you make changes and build the go code.

Error ITMS-90168: “The binary you uploaded was invalid.”

During uploading binary to AppStore I receive an error:
Error ITMS-90168: “The binary you uploaded was invalid.”
I can't upload my binary. Nothing helps.
Tried creating new project. Tried uploading from another computer.
Have anybody succeeded in dealing with this issue?
Any help is appreciated.
Lazy solution!!
I had downloaded Application Loader from a link in the iTunes Connect app submission page. This gave me version 3.0, where I ran into the error.
Instead you can go to Xcode, and open Application Loader from there, which gives version 3.6, where the problem magically disappeared.
You can find it from the top menu: Xcode -> Open Developer Tool -> Application Loader
cd ~/.itmstransporter
rm update_check*
mv softwaresupport softwaresupport.bak
cd UploadTokens
rm *.token
I tried in accordance with this method, but still reported the same mistake

Lexical or Preprocessor issue with Xcode 4.6.1

My App could work with Xcode 4.3.3 before. But when I want to make it for adhoc test by Product -- Archive with Xcode 4.6.1, following error appears:
three20UI.h, Lexical or Preprocessor issue, 'Three20UI/TTTableImageItemCell.h' file not found.
Please help, thanks!
Three20UI/TTTableImageItemCell.h file is missing, go to your folder and then add this file again.

LLVM With Haskell, Strange Linker Error

I just installed LLVM (3.0) successfully, and got the Hackage bindings (3.0.0.0). However when I try to use it, I get the following linker error:
Loading package llvm-base-3.0.0.0 ... can't load .so/.DLL for: (dlopen(lib.dylib, 9): image not found)
There is no name after "for: ", which makes this frustrating, because I don't know what it can't find. I know there isn't much information to go on, but does anyone have any idea why this could be happening?
I am running Mac OS X, in case it matters.
It's a bug in the llvm bindings installer. I had it patched locally and just sent a pull request to bos, hopefully it will get merged soon.
To fix your problem without the patch, find the llvm-base package config file. Mine is located here:
~/.ghc/x86_64-darwin-7.4.1/package.conf.d/llvm-base-3.0.0.0-*.conf
Locate this line and delete it:
extra-ghci-libraries: ""
Then run: ghc-pkg recache --user

Resources