I’ve been submitting my app to the App Store for test flight and after build 11, I’ve been getting failures via email from Apple:
Non-public API usage: The app conta
Our projects that didn't have bitcode enabled started failing on Friday 2018-01-26. Setting Enable Bitcode
to Yes
in the Build Settings of those projects solved the issue.
Had the same problem since Saturday. Took long trial and error in our case, turning on Bitcode didn't work.
The following part of my podfile
was the reason:
post_install do |installer|
puts("Set deployment target")
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.3'
end
end
end
After I removed this one it processed without an error (still with Bitcode turned off). It really puzzles me though why setting the deployment target suddenly causes a rejection.
I had this exact problem. I was using CommonCrypto as a 'fake' framework. I removed that, and switched to the method described by the accepted answer in this thread, and iTunesConnect accepted my build.
Getting a Swift 4 conversion warning by XCode or having "CommonCryptoModule" showing up in cmd output when using pod update
seems to be a strong indicator whether you are affected by this issue or not.