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
Can not generate IPA when adding 'MMKVWatchExtension' (ipatool failed with an exception) #749
Comments
I guess the problem is similar with this: https://github.com/apple/swift-nio-ssl/pull/277/files |
Got it. |
Hi @lingol , I've create a temporary fix in this PR: #752 But my fix is to disable the Could you please help me to take a look? Thanks a lot. |
I have tried to archive and export our MMKVDemo App, which contains a Watch App target, to an IPA. And I have also successfully uploaded it to App Store Connect without facing such errors. There are two things different from your situation. |
|
What's your exact steps to reproduce this error? Can you describe it step by step? |
Here are the steps:
I'm using Xcode 12.5. And you can check the full error logs here: |
Okay, now I can reproduce your error. May I ask why did you choose |
I mean if you want to upload to App Store, why don't you just choose it? It will have no problems about bitcode. |
Because my CI/CD supports:
|
Why would they reject the build? You should try. |
It should be no issue when Upload to AppStore. TestFlight only is not a good option in my case. |
Did you solve the problem eventually? I've just learned that starting from Xcode 14, bitcode is no longer supported. So I'm not going to do anything about it in this library. |
The language of MMKV
The version of MMKV
The platform of MMKV
The installation of MMKV
What's the issue?
ipatool failed with an exception: #<CmdSpec::NonZeroExitException: ....
(Full log in Xcode Distribution Logs)MMKVWatchExtension
to the Watch Extension target.What's the log of MMKV when that happened?
- XCode Distribution Logs: [xcdistributionlogs.zip](https://github.com/Tencent/MMKV/files/7077412/xcdistributionlogs.zip)
Note: I tried to uncheck
Rebuild from Bitcode
and it can generate the IPA file.But afraid it will be rejected by Apple, because Bitcode is the default for WatchOS.
This is my pod file:
The text was updated successfully, but these errors were encountered: