Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upApps built with the dynamic framework can't be submitted to App store #1163
Comments
This comment has been minimized.
This comment has been minimized.
|
Sorry, I am using @Carthage and v0.87.4 of realm. Can it be that I was linking the Mac Framework? |
This comment has been minimized.
This comment has been minimized.
|
Assuming Carthage built the framework correctly, using the OS X framework should fail to compile unless you've managed to compile against the iOS framework and link against the OS X framework (which is hard to get Xcode to do even when actively trying). We don't have any direct calls to bzero, but calls to |
This comment has been minimized.
This comment has been minimized.
|
Carthage doesn't handle the fact that we support building both static and dynamic frameworks with the same name very well, but it does seem to build things correctly. |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the research! Unfortunately Carthage 0.2.2 doesn't fix the issue. |
This comment has been minimized.
This comment has been minimized.
|
I've poked into this a bit, and the ___bzero calls appear to be compiler-generated for zero-initialized stack variables, so either we have a compiler setting wrong somewhere, or the blacklist is incorrect. Have you emailed |
This comment has been minimized.
This comment has been minimized.
|
Nope not yet, was when I tried to upload a beta build so there is no pressure on this for me. Would you consider this as the next step or do you want to check the compiler thingy first? |
This comment has been minimized.
This comment has been minimized.
|
I'll continue looking for issues on our end, but it would help if you emailed them. |
This comment has been minimized.
This comment has been minimized.
|
Guys, this is probably related: Carthage/Carthage#188 |
This comment has been minimized.
This comment has been minimized.
|
Wow, thanks for finding it! |
alazier
added
investigate
and removed
investigate
labels
Dec 5, 2014
This comment has been minimized.
This comment has been minimized.
alanjrogers
commented
Dec 6, 2014
|
@tonyarnold I don't think that's related. The carthage issue is that built artefacts in |
This comment has been minimized.
This comment has been minimized.
|
@alanjrogers that's the same issue we're having here. In a nutshell, we're currently including simulator and device symbols in a fat framework binary. In static libraries, Apple strips them out as part of the archive process, but they don't yet do this for dynamic libraries. This is a bug that apple should fix. But in the meantime, we need to find a work-around. One way would be to have 2 frameworks (1 for simulator, 1 for devices). Another option could be to have an archive build phase to strip out the simulator symbols. I'm curious to see what solution the Carthage people come up with. |
alazier
removed
the
pending
label
Dec 8, 2014
alazier
changed the title
[iOS] non-public API usage
Apps build with the dynamic framework can't be submitted to App store
Dec 8, 2014
alazier
added
T:Bug
P1
labels
Dec 8, 2014
alazier
changed the title
Apps build with the dynamic framework can't be submitted to App store
Apps built with the dynamic framework can't be submitted to App store
Dec 8, 2014
robb
referenced this issue
Dec 9, 2014
Closed
iOS frameworks built with Carthage cannot be submitted to the App Store #188
This comment has been minimized.
This comment has been minimized.
jspahrsummers
commented
Dec 10, 2014
|
I've filed a Radar about this: rdar://19209161 |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the high quality radar, @jspahrsummers! Duped. |
This comment has been minimized.
This comment has been minimized.
|
Apple just closed my radar as a duplicate of rdar://18326724, so it looks as if someone else filed this long before we got to it. Which (I hope) increases the odds of Apple fixing it |
This comment has been minimized.
This comment has been minimized.
jspahrsummers
commented
Dec 19, 2014
|
Ha, mine is still open. |
This comment has been minimized.
This comment has been minimized.
|
Actually, I was wrong. My radar was closed as a dupe of @jspahrsummers'. Apple's world-class bug report UI confused me. |
pietbrauer commentedNov 29, 2014
Hey,
I tried to submit my beta app to the iTunes Store today but unfortunately a dialogue appeared that the Realm.framework contains non-public API usage.
Did you see that before or have an idea on how to deal with it?