-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload to Mac App Store fails due to missing UUIDs #1752
Comments
I @synalysis thanks for reaching out about this. We are looking into it. |
Thank you, I invested already some hours in order to understand the problem. Here's a similar story: golang/go#28997 - at least the error screen shot is the same, the cause maybe not. Only now I saw another issue related to the framework having a static lib: #1227. |
There's another error I ran into which is similar to #1734. I wrote a comment about that unresolved problem, should I create a new issue for that? |
I am trying to understand the root cause of this so far nothing really relevant. Switching the framework to dynamic can make the validation pass probably because the symbols are independent from the app ones for dynamic frameworks. But then we might encounter the same issue when we'll create the symbols while shipping the frameworks. Need to dig into this a bit deeper. |
@synalysis are you able to see the dSYM files in the DSYM folder of your archived app? Something went wrong while generating the symbol files but not sure what yet. |
I've checked some Apple frameworks and none of them contains a static library. So it seems to be very uncommon not to provide a dynamically linked shared library. From my POV this is the root cause. |
@clpolet
Yes, it's there. No matter if I use the original CocoaPods distributed framework or the modified one with dynamic linking. |
I reopened the other issue, could be related. We tested a validation on our own app today and it passed so I am thinking that there is a configuration in our app that differs. |
@clpolet
My mistake was that I embedded the AppCenter frameworks like I always embedded frameworks. Because you link statically there's no reason for embedding them. Once I don't embed the frameworks the validation runs fine also for me. So for now I think you can close this issue. Maybe you'll reconsider to link the frameworks dynamically when you want to add for example resources. They would be missing when not embedded in the application. And when embedded there would be the validation problem again because of static linking. Thank you for your efforts, @clpolet ! |
No problem, thanks for the details @synalysis . |
Description
When I try to validate my app before uploading it to the Mac App Store with Xcode, the call to /usr/bin/symbols fails due to missing UUIDs:
You can check this with
symbols -uuid Pods/AppCenter/AppCenter-SDK-Apple/macOS/AppCenter.framework/AppCenter
Apparently the problem is that AppCenter frameworks are built as static libraries ("Mach-O Type" in Xcode). Is this necessary? HockeySDK was different:
The culprit is in "Config/Target config.xcconfig":
Changing
MACH_O_TYPE = staticlib
toMACH_O_TYPE = mh_dylib
allows to validate my app with Apple. (however the application doesn't work because the framework is searched at /Library/Frameworks/AppCenter.framework so there's more to fixing this issue)Repro Steps
Details
AppCenter (2.3.0) - installed via Podfile
macOS 10.14.6 (18G95)
pod --version
)?1.7.5
MacBook Pro
Sparkle but that should not be related to the issue
The text was updated successfully, but these errors were encountered: