I have searched high and low but I am unable to archive an iOS app correctly. The app runs perfectly on the simulator and physical devices but I am not able to submit the app to the AppStore because the app is a Generic Xcode Archive instead of an iOS App.
What I have done:
- Skip install is NO for the main project target
- Skip install is YES for Static Library target
- Alle Copy Headers are in Project
- Installation Directory is /Applications
- Target dependencies are empty
update I am not using Cocoapods
Update When I compile using terminal:
xcodebuild -destination generic/platform=iOS
I get the folling error
build/iosvr.build/Release-iphoneos/iosvr.build/Objects-normal/armv7/DistortionRenderer.o iosvr/DistortionRenderer.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)