Hello,
I’m a newbie trying to learn Corona and I’ve been stuck trying to build the Corona weather sample found at https://github.com/coronalabs-samples/CoronaWeather.git - The app works fine in the Corona simulator but when I try to build for IOS, the IOS simulator fires up, the loading progress bar starts but never completes. It reaches half way in about 30s then 30min later it’s about at 90% at which point I just click STOP (i’ve waited up to an hour). I’ve tried another code samples with the same results. What am i doing wrong? Any pointers much appreciated.
My system is a Macbook Pro running Sierra (10.12.1)
I’m using Xcode Version 8.1 (8B62)
I’ve added my appleID to Xcode accounts settings, and do not have any provisioning profiles.
Corona Simulator console log:
Jan 30 07:01:19.474 Copyright (C) 2009-2016 C o r o n a L a b s I n c . Version: 3.0.0 Build: 2016.2992 Jan 30 07:01:19.489 Loading project from: ~/CoronaWeather Jan 30 07:01:19.489 Project sandbox folder: ~/Library/Application Support/Corona Simulator/CoronaWeather-1D5B91A837A87B1614B135515C68DC0F Jan 30 07:01:19.512 Platform: iPhone / x86\_64 / 10.12.1 / Intel Iris Pro OpenGL Engine / 2.1 INTEL-10.20.27 / 2016.2992 / en-US | US | en\_US | en Jan 30 07:01:19.575 statusBar: 20 Jan 30 07:01:19.640 light Jan 30 07:01:19.664 systemEvent applicationStart Jan 30 07:01:19.674 \*\*\* Fetching Weather https://api.forecast.io/forecast/6ce2cb95ebf7afee7f2d76afcc037fb3/37.4419,-122.143?units=si Jan 30 07:01:21.698 weather icon: partly-cloudy-night Jan 30 07:03:59.992 2017-01-30 19:03:59.991 Corona Simulator[10532:802925] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : \*NO\* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated from this process." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.}, com.apple.inputmethod.EmojiFunctionRowItem Jan 30 07:06:07.391 Building ios app for my@email.com with 2016.2992 Jan 30 07:06:12.709 BuildID: 588fff236f06a Jan 30 07:06:16.292 CoronaWeather.app/ CoronaWeather.app/MainWindow-iPad.nib/ CoronaWeather.app/MainWindow-iPad.nib/objects.nib CoronaWeather.app/MainWindow-iPad.nib/runtime.nib Jan 30 07:06:16.292 CoronaWeather.app/Default-568h@2x.png CoronaWeather.app/resource.car CoronaWeather.app/PkgInfo CoronaWeather.app/CoronaResources.bundle/ CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_onOff\_mask.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark@4x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light@2x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light@4x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_onOff\_mask\_android\_holo.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_ios7@4x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_ios7.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_ios@2x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android@2x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_pickerWheel\_mask.png CoronaWeather.app/CoronaResources.bundle/Info.plist CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark.png CoronaWeather.app/CoronaResources.bundle/\_CodeSignature/ CoronaWeather.app/CoronaResources.bundle/\_CodeSignature/CodeRequirements-1 CoronaWeather.app/CoronaResources.bundle/\_CodeSignature/CodeDirectory CoronaWeather.app/CoronaResources.bundle/\_CodeSignature/CodeResources CoronaWeather.app/CoronaResources.bundle/\_CodeSignature/CodeSignature CoronaWeather.app/CoronaResources.bundle/\_CodeSignature/CodeRequirements CoronaWeather.app/CoronaResources.bundle/widget\_theme\_ios7@2x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark@2x.png CoronaWeather.app/CoronaResources.bundle/widget\_theme\_ios.png CoronaWeather.app/\_CoronaSplashScreen.png CoronaWeather.app/Info.plist CoronaWeather.app/CoronaWeather CoronaWeather.app/\_CodeSignature/ CoronaWeather.app/\_CodeSignature/CodeResources CoronaWeather.app/CoronaSDK3rdPartyLicenses.txt CoronaWeather.app/MainWindow.nib/ CoronaWeather.app/MainWindow.nib/objects.nib CoronaWeather.app/MainWindow.nib/runtime.nib Jan 30 07:06:16.833 Using additional build settings from: build.settings Server dir name: CoronaWeather.app Server app name: CoronaWeather (local name: CoronaWeather) Building: Copying app resources Contents of ZIP file from server: Building: Unpacking build from server Creating Info.plist... adding extra plist setting UILaunchImages: [{"UILaunchImageOrientation":"Portrait","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{320, 480}","UILaunchImageName":"Default"},{"UILaunchImageOrientation":"LandscapeLeft","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{320, 480}","UILaunchImageName":"Default"},{"UILaunchImageOrientation":"LandscapeRight","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{320, 480}","UILaunchImageName":"Default"},{"UILaunchImageOrientation":"Portrait","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{320, 568}","UILaunchImageName":"Default-568h"},{"UILaunchImageOrientation":"LandscapeLeft","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{320, 568}","UILaunchImageName":"Default-568h"},{"UILaunchImageOrientation":"LandscapeRight","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{320, 568}","UILaunchImageName":"Default-568h"},{"UILaunchImageOrientation":"Portrait","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{768, 1024}","UILaunchImageName":"Default-Portrait"},{"UILaunchImageOrientation":"LandscapeLeft","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{768, 1024}","UILaunchImageName":"Default-Landscape"},{"UILaunchImageOrientation":"LandscapeRight","UILaunchImageMinimumOSVersion":"7.0","UILaunchImageSize":"{768, 1024}","UILaunchImageName":"Default-Landscape"},{"UILaunchImageOrientation":"Portrait","UILaunchImageMinimumOSVersion":"8.0","UILaunchImageSize":"{375, 667}","UILaunchImageName":"Default-667h"},{"UILaunchImageOrientation":"LandscapeLeft","UILaunchImageMinimumOSVersion":"8.0","UILaunchImageSize":"{375, 667}","UILaunchImageName":"Default-667h"},{"UILaunchImageOrientation":"LandscapeRight","UILaunchImageMinimumOSVersion":"8.0","UILaunchImageSize":"{375, 667}","UILaunchImageName":"Default-667h"},{"UILaunchImageOrientation":"Portrait","UILaunchImageMinimumOSVersion":"8.0","UILaunchImageSize":"{414, 736}","UILaunchImageName":"Default-736h"},{"UILaunchImageOrientation":"LandscapeLeft","UILaunchImageMinimumOSVersion":"8.0","UILaunchImageSize":"{414, 736}","UILaunchImageName":"Default-Landscape-736h"},{"UILaunchImageOrientation":"LandscapeRight","UILaunchImageMinimumOSVersion":"8.0","UILaunchImageSize":"{414, 736}","UILaunchImageName":"Default-Landscape-736h"}] adding extra plist setting UIRequiredDeviceCapabilities: ["location-services","gps"] adding extra plist setting UIApplicationExitsOnSuspend: false adding extra plist setting NSAppTransportSecurity: {"NSExceptionDomains":{"virtualearth.net":{"NSIncludesSubdomains":true,"NSThirdPartyExceptionAllowsInsecureHTTPLoads":true},"geonames.org":{"NSIncludesSubdomains":true,"NSThirdPartyExceptionAllowsInsecureHTTPLoads":true},"openweathermap.org":{"NSIncludesSubdomains":true,"NSThirdPartyExceptionAllowsInsecureHTTPLoads":true}}} adding extra plist setting CFBundleIconFiles: ["Icon-60.png","Icon-60@2x.png","Icon-60@3x.png","Icon-76.png","Icon-76@2x.png","Icon-Small@3x.png","Icon-Small-40.png","Icon-Small-40@2x.png","Icon-Small-40@3x.png"] adding extra plist setting NSLocationWhenInUseUsageDescription: This app uses the GPS when active to determine where to report weather for. Application version information: Version: 1.0 [CFBundleShortVersionString] (set in Build dialog) Build: 2017.01.301906 [CFBundleVersion] (set by Simulator) Building: Signing application for Xcode Simulator iOS build succeeded in 7 seconds Jan 30 07:06:17.090 Running '/Users/stephan/Desktop/CoronaWeather.app' on Xcode iOS Simulator - iPhone 5 / iOS 10.1 (B7FA61BF-0C17-4D0D-A5E7-34B9F2D7553F) Jan 30 07:12:26.207 ---------- Device Log Starts ---------- Jan 30 07:12:35.242 ---------- Device Log Finished ---------- Jan 30 07:12:35.251 systemEvent applicationResume Jan 30 07:12:35.297 removing icon image weather icon: partly-cloudy-night Jan 30 07:16:35.688 began nil Jan 30 07:16:35.709 ended nil Jan 30 07:16:40.199 systemEvent applicationResume Jan 30 07:16:40.249 \*\*\* Fetching Weather https://api.forecast.io/forecast/6ce2cb95ebf7afee7f2d76afcc037fb3/37.4419,-122.143?units=si Jan 30 07:16:40.804 removing icon image weather icon: partly-cloudy-night Jan 30 07:19:15.985 2017-01-30 19:19:15.984 Corona Simulator[10532:802925] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : \*NO\* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated from this process." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.}, com.apple.inputmethod.EmojiFunctionRowItem