Trouble creating a new project


#1

Hi,

Apologies in advance if this is really obvious.

I am trying to build a RubyMotion project, but getting an error about a Provisioning Profile not being found.

Is this something I need to go to Apple for?

I do have an Apple Developer Account, but not a paid one yet.

For reference the ‘rake build --trace’ output is below.

Thanks in advance for any assistance.

error
** Invoke build (first_time)
** Invoke build:simulator (first_time)
** Execute build:simulator
rm -f ./build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/Info.plist
“/Applications/Xcode.app/Contents/Developer/usr/bin/actool” --output-format human-readable-text --notices --warnings --platform iphoneos --minimum-deployment-target 11.4 --target-device iphone --target-device ipad --app-icon ‘AppIcon’ --launch-image ‘LaunchImage’ --output-partial-info-plist ‘/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/AssetCatalog-Info.plist’ --compress-pngs --compile “/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app” “/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets”
/* com.apple.actool.document.warnings /
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/(null)[2d][Default-375w-667h@2x.png]: warning: The launch image set “LaunchImage” has 2 unassigned children.
/
com.apple.actool.document.notices /
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][2436h][3x][portrait][full-screen][11.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/
com.apple.actool.compilation-results */
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/AppIcon60x60@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/AppIcon76x76@2x~ipad.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-1100-Portrait-2436h@3x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-800-Portrait-736h@3x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-800-667h@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-700@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-700-568h@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-700-Portrait~ipad.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/LaunchImage-700-Portrait@2x~ipad.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/Assets.car
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneSimulator-11.4-Development/AssetCatalog-Info.plist

e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/(null)[2d][Default-375w-667h@2x.png]: warning: The launch image set “LaunchImage” has 2 unassigned children.
e[1m WARNING!e[0m /* com.apple.actool.document.notices /
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][2436h][3x][portrait][full-screen][11.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/usr/bin/plutil -convert binary1 “./build/iPhoneSimulator-11.4-Development/pomodoro_motion.app/Info.plist”
** Invoke build:device (first_time)
** Execute build:device
rm -f ./build/iPhoneOS-11.4-Development/pomodoro_motion.app/Info.plist
“/Applications/Xcode.app/Contents/Developer/usr/bin/actool” --output-format human-readable-text --notices --warnings --platform iphoneos --minimum-deployment-target 11.4 --target-device iphone --target-device ipad --app-icon ‘AppIcon’ --launch-image ‘LaunchImage’ --output-partial-info-plist ‘/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/AssetCatalog-Info.plist’ --compress-pngs --compile “/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app” “/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets”
/
com.apple.actool.document.warnings /
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/(null)[2d][Default-375w-667h@2x.png]: warning: The launch image set “LaunchImage” has 2 unassigned children.
/
com.apple.actool.document.notices /
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][2436h][3x][portrait][full-screen][11.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/
com.apple.actool.compilation-results */
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/AppIcon60x60@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/AppIcon76x76@2x~ipad.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-1100-Portrait-2436h@3x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-800-Portrait-736h@3x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-800-667h@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-700@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-700-568h@2x.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-700-Portrait~ipad.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/LaunchImage-700-Portrait@2x~ipad.png
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/pomodoro_motion.app/Assets.car
/Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/build/iPhoneOS-11.4-Development/AssetCatalog-Info.plist

e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/(null)[2d][Default-375w-667h@2x.png]: warning: The launch image set “LaunchImage” has 2 unassigned children.
e[1m WARNING!e[0m /* com.apple.actool.document.notices */
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][2436h][3x][portrait][full-screen][11.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
e[1m WARNING!e[0m /Users/jen/dev/rubymotion/projects/pomodoro/pomodoro_motion/resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/usr/bin/plutil -convert binary1 “./build/iPhoneOS-11.4-Development/pomodoro_motion.app/Info.plist”
e[1m ERROR!e[0m Can’t find a provisioning profile named (?-mix:iOS\s?Team Provisioning Profile)' /Users/jen/.rubymotion/rubymotion-templates/motion/project/template/ios/config.rb:170:inprovisioning_profile’
/Users/jen/.rubymotion/rubymotion-templates/motion/project/template/ios/builder.rb:75:in codesign' /Library/RubyMotion/lib/motion/project/app.rb:86:incodesign’
/Users/jen/.rubymotion/rubymotion-templates/motion/project/template/ios.rb:76:in block (2 levels) in <top (required)>' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:271:inblock in execute’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:271:in each' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:271:inexecute’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:213:in block in invoke_with_call_chain' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/2.5.0/monitor.rb:226:inmon_synchronize’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:193:in invoke_with_call_chain' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:237:inblock in invoke_prerequisites’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:235:in each' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:235:ininvoke_prerequisites’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:212:in block in invoke_with_call_chain' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/2.5.0/monitor.rb:226:inmon_synchronize’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:193:in invoke_with_call_chain' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:182:ininvoke’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:160:in invoke_task' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:116:inblock (2 levels) in top_level’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:116:in each' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:116:inblock in top_level’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:125:in run_with_threads' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:110:intop_level’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:83:in block in run' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:186:instandard_exception_handling’
/Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:80:in run' /Users/jen/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rake-12.3.1/exe/rake:27:in<top (required)>’
/Users/jen/.rbenv/versions/2.5.1/bin/rake:23:in load' /Users/jen/.rbenv/versions/2.5.1/bin/rake:23:in


#2

I have a feeling this is because I haven’t linked my Apple Developer account to XCode on this particular machine. Will give that a try and hope it works :slight_smile:


#3

Grrr, that didn’t work.

Any help appreciated.

Best,
Jen!


#4

Solved!
I had to manually download profiles using Xcode, then I blow my project away and re-created it.

Now everything seems to be getting picked up and the simulator launches.