I update xcode to 9.1 and moeIpaBuild task doesn’t work now.
moe gradle 1.4.0, “automatically manage signing” disabled in xcode project.
There is my gradle config:
moe {
proguardLevel 'all'
xcode {
project 'xcode/ui-test-moe.xcodeproj'
mainTarget 'ui-test-moe'
}
signing {
developmentTeam "${rootProject.ext.developmentTeam}"
provisioningProfileSpecifier "iostest.developement"
}
ipaExport {
// Required! (String) The method of distribution, which can be set as any of the following:
// app-store, enterprise, ad-hoc, development
method "app-store"
}
xcode.mainScheme 'ui-test-moe'
}
and when I run moeIpaBuild then I get and error:
2017-11-22 17:17:35.343 xcodebuild[41864:4100546] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f87723602e0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProvisioningErrorDomain Code=9 \"\"uitest.app\" requires a provisioning profile.\" UserInfo={NSLocalizedDescription=\"uitest.app\" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}"
)}
error: exportArchive: "uitest.app" requires a provisioning profile.
Error Domain=IDEProvisioningErrorDomain Code=9 ""uitest.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="uitest.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
** EXPORT FAILED **