Open B3ns44d opened 2 years ago
You can use export-options
like this
// put the path to the .plist file
export-options: ./ios/Options.plist
The Options.plist
should be like this
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>uploadBitcode</key>
<true/>
<key>compileBitcode</key>
<true/>
<key>uploadSymbols</key>
<true/>
<key>signingStyle</key>
<string>manual</string>
<key>signingCertificate</key>
<string>Apple Development: Tony Duong</string>
<key>provisioningProfiles</key>
<dict>
<key>com.example.dev</key>
<string>Demo Provisioning Development</string>
<key>com.example.dev.ImageNotification</key>
<string>Demo Provisioning Development ImageNotification</string>
<key>com.example</key>
<string>Demo Provisioning Production</string>
<key>com.example.ImageNotification</key>
<string>Demo Provisioning Production ImageNotification</string>
</dict>
</dict>
</plist>
hi @minhchienwikipedia
i've two provisioning too, but also with the export-options it can't get the right certificate how can i specify the provisioning? i tried with UUID or Name but it fails every time due to
[17:00:14]: ▸ ❌ error: No profile for team '***' matching 'EDC53DC2-456C-4FA1-B4DE-9634B34F2B78' found: Xcode couldn't find any provisioning profiles matching '***/EDC53DC2-456C-4FA1-B4DE-9634B34F2B78'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor
@CinGiu you must to defined correctly the name of Provisioning, it should be the same on Apple Developer
@minhchienwikipedia @B3ns44d where you able to get the multiple profiles to work with
mobileprovision-base64: | ${{ secrets.APP_MOBILEPROVISION_BASE64 }} ${{ secrets.ONESIGNALNOTIFICATIONSERVICE_MOBILEPROVISION_BASE64 }}
Would i need to do this and then also have the Options.plist? Or do you just need to do one or the other?
so I've been trying to add multiple mobile provision profiles but I'm getting this error:
this is the config I'm using:
the issue here is that I don't quite understand how to use
export-options
any help will be appreciated