Archive: Distribute Content instead of Distribute App (again)

Hello, I seem to be facing a similar issue to the issue from this thread:

https://developer.apple.com/forums/thread/688133

However this seems to be a different issue.

I created my project by following the instructions here:

https://github.com/libsdl-org/SDL/blob/release-2.0.20/docs/README-ios.md

(note that this starts from the built in iOS Game template)

My application runs fine on my M1 Mac however, when I archive it and go to distribute it to the app store, I only get "Distribute Content" as the button.

Following the diagnostic suggestion of @eskimo, I get this:

andy@Andys-Air ~ % cd /Users/andy/Library/Developer/Xcode/Archives/2022-02-25/lbbbh\ 25-2-2022\,\ 4.13\ pm.xcarchive
andy@Andys-Air lbbbh 25-2-2022, 4.13 pm.xcarchive % find Products
Products
Products/Library
Products/Library/Frameworks
Products/Library/Frameworks/SDL2.framework
Products/Library/Frameworks/SDL2.framework/default.metallib
Products/Library/Frameworks/SDL2.framework/Headers
Products/Library/Frameworks/SDL2.framework/ReadMe.txt
Products/Library/Frameworks/SDL2.framework/License.txt
Products/Library/Frameworks/SDL2.framework/SDL2
Products/Library/Frameworks/SDL2.framework/Info.plist
Products/Applications
Products/Applications/lbbbh.app
Products/Applications/lbbbh.app/_CodeSignature
Products/Applications/lbbbh.app/_CodeSignature/CodeResources
Products/Applications/lbbbh.app/AppIcon60x60@2x.png
Products/Applications/lbbbh.app/lbbbh
Products/Applications/lbbbh.app/Base.lproj
Products/Applications/lbbbh.app/Base.lproj/LaunchScreen.storyboardc
Products/Applications/lbbbh.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
Products/Applications/lbbbh.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
Products/Applications/lbbbh.app/Base.lproj/LaunchScreen.storyboardc/Info.plist
Products/Applications/lbbbh.app/Assets.car
Products/Applications/lbbbh.app/AppIcon76x76@2x~ipad.png
Products/Applications/lbbbh.app/levels
Products/Applications/lbbbh.app/Frameworks
Products/Applications/lbbbh.app/Frameworks/SDL2.framework
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/_CodeSignature
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/_CodeSignature/CodeResources
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/default.metallib
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/ReadMe.txt
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/License.txt
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/SDL2
Products/Applications/lbbbh.app/Frameworks/SDL2.framework/Info.plist
Products/Applications/lbbbh.app/embedded.mobileprovision
Products/Applications/lbbbh.app/assets
Products/Applications/lbbbh.app/Info.plist
Products/Applications/lbbbh.app/PkgInfo

(some of the filenames of my assets and SDL header files were removed from this to try to get under tha character limit)

Any ideas?

Xcode version: 13.2.1 (13C100)

Accepted Answer

One of my colleagues just published a technote that addresses this specific issue: TN3110 Resolving Generic Xcode Archive Issue. In your case it’s almost certainly the Skip Install build setting.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

That was indeed the problem, thanks so much for your help and please thank your colleague.

For anyone else reading this - go to the SDL project, and then make sure you select the Framework-iOS target to set Skip Install - if you just do it on the Framework target (which was the default thing selected) then it won't work.

Archive: Distribute Content instead of Distribute App (again)
 
 
Q