Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

[RESOLVED] App submission reject - Your app contains non-public API usage
Started by Yoger Games Sep 04 2014 11:48 AM

141 replies to this topic

[TOPIC CONTROLS]
Page 2 of 6 1 2 3 4 »
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

singletusked

[GLOBAL: userInfoPane.html]
singletusked
  • Observer

  • 4 posts
  • Corona SDK

Please fix the issue asap. we are unable to upload build to app store

Attached Files



[TOPIC: post.html]
#27

noeguer

[GLOBAL: userInfoPane.html]
noeguer
  • Contributor

  • 265 posts
  • Corona SDK

same error, cannot upload apps



[TOPIC: post.html]
#28

exevio

[GLOBAL: userInfoPane.html]
exevio
  • Observer

  • 16 posts
  • Corona SDK

I suggest disabling the GameCenter functionality to pass the review.

As soon as Corona devs fix the issue we can update/resubmit.

 

I know, it's not the perfect solution, especially for those dependant on GameCenter to incentivise players.



[TOPIC: post.html]
#29

huni

[GLOBAL: userInfoPane.html]
huni
  • Observer

  • 10 posts
  • Corona SDK

Hi exevio, can you tell us how we can disable the GameCanter functionality? Sorry just a newbie here!



[TOPIC: post.html]
#30

shareng76

[GLOBAL: userInfoPane.html]
shareng76
  • Observer

  • 2 posts
  • Corona SDK

For info exevio, I just got the same error on one of my app and I don't use GameCenter



[TOPIC: post.html]
#31

PickionGames

[GLOBAL: userInfoPane.html]
PickionGames
  • Enthusiast

  • 67 posts
  • Corona SDK

I hope the public build will have a fix to this as well, only on Starter and don't get daily builds either. This Apple switching things up on a whim really messes things up.



[TOPIC: post.html]
#32

singletusked

[GLOBAL: userInfoPane.html]
singletusked
  • Observer

  • 4 posts
  • Corona SDK

We have disabled the game centre and also removed the code, still same issue....



[TOPIC: post.html]
#33

walter

[GLOBAL: userInfoPane.html]
walter
  • Moderator

  • 726 posts
  • Alumni

Hey all, so a quick update on this. We are continuing to look into this.
 
These are clearly false positives b/c all the APIs in question are public but are wrongly being flagged as non-public. We have attempted some workarounds (changing selector methods to property accesses in Obj-C) but Xcode compilation continues to convert these back into a form which iTunes Connect flags as non-public. We've put in a word to Apple dev rel, but due to iOS 8 and the Sept 9 announcement, I suspect everyone is overloaded.
 
This issue also affects native iOS devs (https://devforums.apple.com/message/1035285#1035285) as well as other frameworks, so this is _not_ unique to Corona. Nonetheless, I share your frustration; these fire drill situations that Apple creates are no cake walk.
 
Due to the upcoming release of iOS 8, iTunes Connect has undergone "upgrades". This is causing all sorts of headaches (https://devforums.apple.com/message/1035262#1035262) in addition to the one mentioned on this thread.
 
Given all this, the best comment/advice I've seen on this situation is to avoid submitting apps in the weeks before a new iOS version is coming out (e.g. a big Apple announcement):

 

 

Experienced devs learn from the past that submitting when a new iOS is pending is risky. Next time, do what you need to do two/four weeks ahead of the 'event' and/or wait a week or two after. Avoid the rush in any case.

 

Probably not what you want to hear, but it's more an acceptance of the reality of being in the kitchen when Apple is cooking up big releases.



[TOPIC: post.html]
#34

madTeam

[GLOBAL: userInfoPane.html]
madTeam
  • Observer

  • 22 posts
  • Corona SDK

[TOPIC: post.html]
#35

Puzzle Runner

[GLOBAL: userInfoPane.html]
Puzzle Runner
  • Contributor

  • 394 posts
  • Corona SDK

Keeping up with what Walter posted, the reason for the GameCenter error(s) on app submission is because they are now deprecated. The way for these errors to be resolved is to reimplement some of the Game Center functionality with this: https://developer.apple.com/library/ios/documentation/GameKit/Reference/GKGameCenterViewController_Ref/Reference/Reference.html

 

(Note: Something Corona would need to do, not us of course)



[TOPIC: post.html]
#36

PickionGames

[GLOBAL: userInfoPane.html]
PickionGames
  • Enthusiast

  • 67 posts
  • Corona SDK

I'm also receiving the MPMoviePlayer error similar to what MadTeam described.

 

Is that going to be fixed as well? Or is Apple shooting out random errors at the moment due to the updates they're making.



[TOPIC: post.html]
#37

Tom

[GLOBAL: userInfoPane.html]
Tom
  • Moderator

  • 1,480 posts
  • Corona Staff

@madTeam and @PickionGames, what build are you using? That symbol is was removed a few months ago. Have you tried using the latest release (2393a) to see if you are getting the same errors as others (gameNetwork)?



[TOPIC: post.html]
#38

PickionGames

[GLOBAL: userInfoPane.html]
PickionGames
  • Enthusiast

  • 67 posts
  • Corona SDK

@madTeam and @PickionGames, what build are you using? That symbol is was removed a few months ago. Have you tried using the latest release (2393a) to see if you are getting the same errors as others (gameNetwork)?

I thought I did but when I open Corona the welcome screen says 2393, is it suppose to say 2393a?

 

Anyway, redownloading it now to see if it'll help with error.

 

Update:

Ok I was using regular 2393. Updated to 2393a, even though on welcome screen it still says 2393 without the a.

 

I'm getting the same error as everyone else is getting now about the game network I believe. @madTeam you have to update your Corona to 2393a too I guess.



[TOPIC: post.html]
#39

Tom

[GLOBAL: userInfoPane.html]
Tom
  • Moderator

  • 1,480 posts
  • Corona Staff

No, the 2393A Mac Simulator will only say 2393 in the Welcome window. Does your app use any plugins and are you sure you built the app with 2393?



[TOPIC: post.html]
#40

walter

[GLOBAL: userInfoPane.html]
walter
  • Moderator

  • 726 posts
  • Alumni

Okay, we think we have found a workaround to Apple's false alarm. We are making this available in daily build 2422. You may still see warnings about non-public APIs, but you should no longer see errors preventing your app from uploading.

 

What we are doing:

 

Pro/Enterprise users: you can use this daily build. We appreciate any reports on this. Expect to continue to see warnings, but the error should (hopefully) go away.

 

Starter/Basic users: Because Apple is making so many things in flux, we are going to wait for the dust to settle post-iOS 8 before we update the public release. Too many variables can change right now, and it doesn't make sense for us to play a cat-and-mouse game with Apple — there may be other public APIs that Apple will capriciously choose to cause submission errors. Hopefully, given that native iOS devs are affected, Apple will fix this on their servers.

 

What you can do if you really must submit:

 

Right off, we recommend that you avoid submitting right now. Experience (https://devforums.apple.com/message/1035262#1035262) suggests you should postpone submissions until 2 weeks after iOS 8.

 

However, if you really must submit right now, you should submit your grievances to Apple. To that end, we have created a form letter (below) that you can send to (appreview@apple.com).

 

You will need to replace NINE_DIGIT_ID with the corresponding nine digit identifier from iTunes Connect.

 

-----

 

SUBJECT: False positives in "non-public API usage" preventing app upload
 
MESSAGE BODY:
 
Hi, our app binary (NINE_DIGIT_ID) cannot be uploaded to iTunesConnect b/c ApplicationLoader is *incorrectly* flagging non-public APIs. In other words, these are false positives.
 
We say this with 100% certainty because the code is using public properties that the Xcode compiler (Apple's own tools) are converting to 'set' selector calls (as Obj-C properties are syntactic sugar for selector method calls). These calls are erroneously being flagged as false positives:
 
* 'setComposeViewDelegate:' is equivalent to the 'composeViewDelegate' property in GKFriendRequestComposeViewController
* 'setAchievementDelegate:' is equivalent to the 'achievementDelegate' property in GKAchievementViewController
* 'setLeaderboardDelegate:' is equivalent to the 'leaderboardDelegate' property in GKLeaderboardViewController
* 'setShowExistingMatches:' is equivalent to the 'showExistingMatches' property in GKTurnBasedMatchmakerViewController
* 'setTurnBasedMatchmakerDelegate:' is equivalent to the 'turnBasedMatchmakerDelegate' property in GKTurnBasedMatchmakerViewController
 
Similar issues have been noted on the Apple's Developer Forum, e.g. https://devforums.apple.com/message/1035114#1035114
 
Therefore, our app does *not* contain private APIs, and is consistent with public API usage per Apple's developer agreement. Please let us know how we can upload our binary and get past these false alarms.
 
sincerely,
 
XXX


[TOPIC: post.html]
#41

Puzzle Runner

[GLOBAL: userInfoPane.html]
Puzzle Runner
  • Contributor

  • 394 posts
  • Corona SDK

Worked for me :)



[TOPIC: post.html]
#42

shareng76

[GLOBAL: userInfoPane.html]
shareng76
  • Observer

  • 2 posts
  • Corona SDK

Worked for me too. Thanks guys for this quick patch! 

:-)



[TOPIC: post.html]
#43

Mobi

[GLOBAL: userInfoPane.html]
Mobi
  • Observer

  • 13 posts
  • Corona SDK

@shareng76, @Puzzle Runner: After mail to (appreview@apple.com), you submit immediately or wait to reply from Apple Review team. How long do you receive their reply. I've just mail to Appl Review.

 

Sorry, it's firt time I upload to Apple store.



[TOPIC: post.html]
#44

jaredatkins

[GLOBAL: userInfoPane.html]
jaredatkins
  • Observer

  • 16 posts
  • Enterprise

Downloaded the latest daily build. The code seems unstable in regards to linear and angular damping. When I apply to a dynamic body all onscreen bodies start sliding downwards.

 

Havent tried to upload my update to test the non-public API fix.



[TOPIC: post.html]
#45

PickionGames

[GLOBAL: userInfoPane.html]
PickionGames
  • Enthusiast

  • 67 posts
  • Corona SDK

I'm guessing Apple Review staff are going to be getting a ton of these requests.

 

Just sent mine in as well. 

 

@Mobi, I'm thinking we got to wait for the to respond because the uploader won't take the app.



[TOPIC: post.html]
#46

xnailbender

[GLOBAL: userInfoPane.html]
xnailbender
  • Contributor

  • 360 posts
  • Corona SDK

uploaded, good job!



[TOPIC: post.html]
#47

Mobi

[GLOBAL: userInfoPane.html]
Mobi
  • Observer

  • 13 posts
  • Corona SDK

thanks @PickionGames



[TOPIC: post.html]
#48

singletusked

[GLOBAL: userInfoPane.html]
singletusked
  • Observer

  • 4 posts
  • Corona SDK

Getting this error after using, 

CoronaSDK 2014.2422

Attached Files



[TOPIC: post.html]
#49

codeasysdk

[GLOBAL: userInfoPane.html]
codeasysdk
  • Enthusiast

  • 52 posts
  • Corona SDK

Worked for me too ;)

 

Thx !



[TOPIC: post.html]
#50

Mobi

[GLOBAL: userInfoPane.html]
Mobi
  • Observer

  • 13 posts
  • Corona SDK

Hi @Gispubc, @xnailbender

Pls tell us more details. What do you mean? You upload successfully?




[topic_controls]
Page 2 of 6 1 2 3 4 »
 
[/topic_controls]