Home Features Docs Blog Support GitHub

Missing code signing in moeIpaBuild


#1

We are using manual code signing for our project on CI.
We got:
XXXXX requires a provisioning profile. Select a provisioning profile for the “Release” build configuration in the project editor.
15:57:26 Code signing is required for product type ‘Application’ in SDK ‘iOS 10.3’
during moeIpaBuild task.

After we add

PROVISIONING_PROFILE_SPECIFIER=XXXX CODE_SIGN_IDENTITY=XXXXX

to the command line

xcrun xcodebuild archive -workspace ./xcode/XXXX.xcworkspace -scheme XXXX MOE_GRADLE_EXTERNAL_BUILD=YES ONLY_ACTIVE_ARCH=NO DEVELOPMENT_TEAM=XXXX -configuration Release -archivePath ./build/archive 

, it works.


moeIpaBuild doesnt work with xcode 9 (provisioningProfiles is absent)
#2

Managed to hack into this by:

moeIpaBuild {
    additionalParameters = ["PROVISIONING_PROFILE="+provisioning, "CODE_SIGN_IDENTITY="+identity, "MOE_GRADLE_EXTERNAL_BUILD=YES", "ONLY_ACTIVE_ARCH=NO"]
}

Will this be fixed in the future?


Ios-moe gradle plugin 1.4.1 and xcode 9.x - Locating signing assets failed
Specify provisioning profile