Closed andrewtimberlake closed 8 years ago
Can you elaborate on this?
Rake output
Info Logging into the Developer Portal with email '<email address>'.
Info Selected team 'XXXXXXXXXXXXXX. (YYYYYYYYY)'.
Info Using certificate 'Andrew Timberlake'.
Info Using provisioning profile '(MotionProvisioning) com.myapp.identifer ios development'.
Build ./build/iPhoneSimulator-7.1-Development
Compile ./app/app_delegate.rb
Link ./build/iPhoneSimulator-7.1-Development/MYAPP.app/MYAPP
Create ./build/iPhoneSimulator-7.1-Development/MYAPP.app/Info.plist
Create ./build/iPhoneSimulator-7.1-Development/MYAPP.app.dSYM
Copy ./build/iPhoneSimulator-7.1-Development/MYAPP.app.dSYM
Simulate /Users/andrew/dev/myapp/ios/build/iPhoneSimulator-7.1-Development/MYAPP.app
provisioning folder contents
config.yml
ios_developer_certificate.cer
com.myapp.identifier_ios_development_provisioning_profile.mobileprovision
The name of the certificate file is wrong, it should be ios_development_certificate.cer
not ios_developer_certificate.cer
.
Can you show me the part of the Rakefile where you configure motion-provisioning?
app.development do
app.info_plist['NSAppTransportSecurity'] = {"NSAllowsArbitraryLoads" => true}
app.codesign_certificate = MotionProvisioning.certificate(
type: :development,
platform: :ios
)
app.provisioning_profile = MotionProvisioning.profile(
bundle_identifier: app.identifier,
app_name: app.name,
platform: :ios,
type: :development
)
end
Looks like we're checking the private key file is present here:
We well tweak that behavior. Meanwhile you can make it not log in every time by running touch provisioning/ios_development_private_key.p12
. If that doesnt work, try "developer" instead of "developent".
Thanks, I'll give that a try tomorrow. One thing, the files in there were generated from the first run so motion-provision named them?
Andrew
On 11 Aug 2016, at 17:45, Mark Villacampa notifications@github.com wrote:
Looks like we're checking the private key file is present here:
We well tweak that behavior. Meanwhile you can make it not log in every time by running touch provisioning/ios_development_private_key.p12. If that doesnt work, try "developer" instead of "developent".
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yes, motion-provisioning named them. I'll try to figure out where the wrong name comes from too
When I create a file provisioning/ios_development_private_key.p12
then all works.
Should be fixed with e053af3ac81b54037bc6abcdd4c792d9c872bda2
Please update to motion-provisioning 0.0.3
Thank you. It is working perfectly.
If you have to login on every build, then it is a bug.
Can you paste:
1- The full output when you run "rake" 2- The contents of your "provisioning" folder (e.g. executing "ls provisioning")