yukiarrr / ios-build-action

Build iOS project (.xcodeproj, .xcworkspace), and export ipa
MIT License
283 stars 137 forks source link

Fastlane fails with undefined method error #60

Open pratik-kanthi opened 3 years ago

pratik-kanthi commented 3 years ago

My workflow is failing with the following error from Fastlane

Fastfile:166:in 'resolve_recursive_build_setting': \e[31m[!] undefined method 'resolve_build_setting' for nil:NilClass\e[0m (NoMethodError)

Here's my configuration:

       project-path: Cab9-Driver.xcodeproj
       p12-base64: ${{ secrets.P12_BASE64 }}
       mobileprovision-base64: ${{ secrets.MOBILEPROVISION_BASE64 }}
       code-signing-identity: ${{ secrets.CODE_SIGNING_IDENTITY }}
       team-id: ${{ secrets.TEAM_ID}}
       workspace-path: Cab9-Driver/project.xcworkspace 
       certificate-password: ${{ secrets.CERT_PASSWORD}}
       scheme: Cab9 Driver Release
       configuration: 'Release'
       update-targets: Cab9-Driver
yukiarrr commented 3 years ago

Thanks for the issue! I checked, but I don't know the cause of the error. Can you share the project folder or invite me to the github repository?

dylane-arq commented 2 years ago

This happened for me because my project had custom configuration names. Once I set the configuration in my action yml, it worked. @pratik-kanthi

dishankjindal1 commented 2 years ago

Hey @dylane-arq @yukiarrr @pratik-kanthi , how do we set custom configurattion names in actions yaml?