benbahrenburg / ti.mely

Ti.mely Native Timers for Titanium Mobile
MIT License
49 stars 20 forks source link

Apple Store rejection due to non-public API #13

Closed kftomita closed 7 years ago

kftomita commented 8 years ago

Hi, Recently I tried to publish an app, and Apple store rejected it saying that it was accessing a non public API, called 'defaultConfig'. Since the app doesn't call any non-public API, Apple sad that, if the app, or its modules, call a similar name to 'defaultConfig', this is enough to reject the app. So, the variables that I found on my app are: defaultConfigurationIsVisible defaultConfigurationName

Those are ti.mely variables. Would be possible to change those names to not interfere on the Apple publication process?

Thanks, Katia

benbahrenburg commented 8 years ago

I don't think ti.mely has those values anywhere in the source. Can you send me the line number you are referencing?

The only values I found are in the Xcode project itself (which isn't shipped). These are part of the project build process. My guess is it is another module you are using. You can always try to rebuild with an upgraded version of Xcode to see if that resolves your problem.

Some info about those names: The defaultConfigurationName and defaultConfigurationIsVisible properties indicate which configuration is the default when building with the xcodebuild tool, as well as whether this information should be exposed in the Xcode user interface. The buildConfigurations array contains references to objects of type XCBuildConfiguration.

Taken from : http://danwright.info/blog/2010/10/xcode-pbxproject-files-2/

kftomita commented 8 years ago

Thanks for your answer. This is the info that I got when looking for 'defaultConfig' on the build: iphone/Aim2Act.xcodeproj/project.pbxproj:3147: defaultConfigurationIsVisible = 0; iphone/Aim2Act.xcodeproj/project.pbxproj:3148: defaultConfigurationName = Release; iphone/Aim2Act.xcodeproj/project.pbxproj:3156: defaultConfigurationIsVisible = 0; iphone/Aim2Act.xcodeproj/project.pbxproj:3157: defaultConfigurationName = Release;

I will follow your suggestion and rebuild the project with an upgraded version of Xcode.