Skip to content
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

action building wrong scheme instead of the specified one #121

Open
angelacassanelli opened this issue Mar 18, 2024 · 0 comments
Open

action building wrong scheme instead of the specified one #121

angelacassanelli opened this issue Mar 18, 2024 · 0 comments

Comments

@angelacassanelli
Copy link

In my app I have two schemes: “appname-dev” and “appname”; I also have two different provisioning profiles: “appname.ios.dev” for the first one and “appname.ios.prod” for the second one.

I’ve set up the action to build “appname-dev” scheme, but it is building “appname” scheme instead.

This is my action:

      - name: Build the app
        uses: yukiarrr/[email protected]
        with:
            p12-base64: ${{ secrets.P12_BASE64 }}
            certificate-password: ${{ secrets.CERTIFICATE_PASSWORD }}
            mobileprovision-base64: |
                ${{ secrets.MOBILEPROVISION_BASE64_PROD }}
                ${{ secrets.MOBILEPROVISION_BASE64 }}
            team-id: ${{ secrets.TEAM_ID }}
            project-path: appname/appname.xcodeproj
            workspace-path: appname/appname.xcworkspace
            scheme: appname-dev
            output-path: appname-dev.ipa
            export-options: ./appname/appname/Options.plist
            build-destination: generic/platform=iOS
            increment-version-number: patch
            increment-build-number: true
            bundle-identifier: appname.ios.dev

And this is my Option.plist:

<dict>
	<key>teamID</key>
	<string>*****</string>
	<key>signingStyle</key>
	<string>manual</string>
	<key>signingCertificate</key>
	<string>*****</string>
	<key>provisioningProfiles</key>
	<dict>
		<key>appname.ios.prod</key>
		<string>appname Prod Distribution</string>
		<key>appname.ios.dev</key>
		<string>appname Dev Distribution</string>
	</dict>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant