Hi,
i recently updated my application from moe 1.2 to moe 1.4.+
My Development Environment:
Android studio :3.0.1
Moe : 1.4.+
Xcode : 9.0
In Xcode project automatically signing option is closed.
My xcode project signing gradle part as below:
moe {
signing {
provisioningProfile ‘/Users/user/Library/MobileDevice/Provisioning Profiles/df38c603-5cc3-45a8-81d4-c0cf28fba886.mobileprovision’
signingIdentity ‘iPhone Distribution: My Company(xxxx)’
}
xcode {
project ‘xcode/ios2.xcodeproj’
mainTarget ‘ios2’
testTarget ‘ios2-Test’
mainScheme ‘ios2’
}
}
when i run ./gradlew moeIpaBuild command for generating ipa but i can not handle it gives error:
> Configure project :app
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
Configuration 'testCompile' in project ':app' is deprecated. Use 'testImplementation' instead.
> Configure project :ios2
Using already downloaded SDK: /Users/user/.moe/moe-sdk-1.4.2
> Task :ios2:moeMainReleaseIphoneosXcodeBuild
Generate scheme management for ios2
> Task :ios2:moeIpaBuild
Generate export_options.plist
###########
# ERROR LOG
###########
2018-09-14 02:24:39.345 xcodebuild[14676:231969] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/72/mx2rr2zj5gdgpjdf8bp1bbkw0000gn/T/ios2_2018-09-14_02-24-39.343.xcdistributionlogs'.
2018-09-14 02:24:41.649 xcodebuild[14676:231969] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f87fe24b840>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProvisioningErrorDomain Code=9 \"\"ios2.app\" requires a provisioning profile.\" UserInfo={NSLocalizedDescription=\"ios2.app\" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}"
)}
error: exportArchive: "ios2.app" requires a provisioning profile.
Error Domain=IDEProvisioningErrorDomain Code=9 ""ios2.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="ios2.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
** EXPORT FAILED **
Thanks.