Closed jdschuitemaker closed 8 years ago
If you follow the workaround at http://www.dpogue.ca/articles/cordova-xcode8.html then this should work: Adding the developmentTeam
in build.json without making any other changes (such as the hook in the link) won't have any effect until cordova-ios updates with compatibility with xcode 8.
Does remotebuild still fail if you add the hook?
That is what I started with. The work around does not work for me. I still get get the same error. This is what I tried:
So just to be clear: You have modified your build.json
as above, you have added the hooks/xcode8.js
file and you have modified your config.xml
to reference the hook, and you still get the error from xcode?
What version of Cordova are you targeting?
Now it saying that my provisioning profile do not match. It always did. But I recreated my provisioning profile and still the same error.
I have Cordova 6.3.1 iOS 4.2.1
What is the exact error it is giving you? And are you sure that you have installed a provisioning profile which matches the development team you are specifying?
In visual studio it says: No profiles for 'xxx.xxx.xxx' were found: Xcode couldn't find a provisioning profile matching 'xxx.xxx.xxx'. Code signing is required for product type 'Application' in SDK 'iOS 10.0'
I'm completely sure it matches with the bundleid installed xcode.
I even did couple of test apps with new ids and created new provisioning profiles. It didn't help.
Also, I ran a couple of days a ago before updating the xcode8, so im sure it matched in the first place.
Any advice?
If you have access to the mac running remotebuild, you could try going to ~/.taco_home/remote-builds/taco-remote/builds/<build id>/cordovaApp/platforms/ios
and open up your app's xcodeproj in xcode. Try to do a build for a device, and see if it finds an error and suggests a way to repair it.
And yes the configuration i checked the team id serveral times, it matches when i go to https://developer.apple.com/account/#/membership
{ "android": { "release": { "keystore": "", "storePassword": "", "alias": "", "password": "", "keystoreType": "" } }, "ios": { "debug": { "developmentTeam": "XXXXXXXXXX" }, "release": { "developmentTeam": "XXXXXXXXXX", "codeSignIdentity": "iPhone Developer" } } }
I have. Give me 20 mins ill post back the result.
It found the team name. No problems there.
It gave me the following warnings:
iOS Deployment Target is set to 7,0 that cant be right? I have set it to 10.0 in the config.xml.
But the problem in building from visual studio is about not being able to find my provisioning profile.. How can I test this from here? Im not really familiar with xcode
You can try to replicate the build process that VS does (using remotebuild) by going to the cordovaApp
folder and running cordova build ios --device
Okay ill try that. In the mean time I got my app build from xcode to my device.
I just tried to build the same solution from visual studio again to get a fresh cordovaApp folder. But strangely it downloaded and tried to deploy. - Must have been something with xcode. But still have the investigate with a new app and a new provisioning profile. Ill get back about that.
In the mean time, the remotebuild server did not copy over the app to the device. This is what the log in visual studio looks like now:
Timed out connecting debugger to remote Apache Cordova app. See Output window for JavaScript console output. ------ Cordova tools 6.3.1 already installed. Requesting launch on remote iOS device for buildNumber 394 on server https://192.168.8.108:3000/cordova... Failed to launch iOS remote for build C:\Users\XXX\Documents\Visual Studio 2015\Projects\TestIos10Test\TestIos10Test\bld\ios\Debug\buildInfo.json to https://192.168.8.108:3000/cordova : Http 404: Error mounting developer disk image ------ Cordova tools 6.3.1 already installed. Requesting debug on remote iOS device for buildNumber 394 on server https://192.168.8.108:3000/cordova... Failed to Debug iOS remote for build C:\Users\XXX\Documents\Visual Studio 2015\Projects\TestIos10Test\TestIos10Test\bld\ios\Debug\buildInfo.json to https://192.168.8.108:3000/cordova : Http 500: No devices found to debug. Please ensure that a device is connected and awake and retry.
Any ideas? Or ill have to get back to you after some reading online..
I think I have an idea. I suggest that you shut down remotebuild, rm -r ~/.taco_home/node_modules/taco-remote-lib/2.2.1
and then start remotebuild up again. That will cause it to re-download the library that we use to build and deploy to iOS devices, and we had updated part of that (idevice-app-launcher) to properly find the developer disk image for iOS 10.
I believe that the reason your app worked when building from VS is that xcode may have downloaded a different provisioning profile.
Okay your command didnt work. But I went in to taco-remote-lib and wrote "rm -r /2.2.1" which removed that folder, which was intented right? or was it the whole path? - Anyway, it re-downloaded like you said, but same error in visual studio,
Here is the terminal:
I notice the warnings, is that my problem?
Also btw just so there is no doubt. It said on the log it deployed with 200, but I didnt put it on the iphone conneted to the mac. Even after I deleted my app, which i got on my phone when I builded from xcode, its not showing up as an app on the iphone - Its a bit confusing log.. :)
No, those warnings are fine. And you deleted the correct thing causing it to download an update.
The issue that you're hitting is to do with how we launch iOS apps on a device. To launch an app, we need to mount a disk image on the device which contains debugging tools, and something is going wrong on that process (which causes the /run command to return 404)
Ah, I think I may know what the issue is: the libimobiledevice library needs to be upgraded to work with iOS 10. Try brew update && brew upgrade libimobiledevice --HEAD && brew upgrade ideviceinstaller ios-webkit-debug-proxy
I wanted it so much to work, but I still get the disk error message and not app is deployed.
I have the terminal log here:
Looks like homebrew is case sensitive: please try brew upgrade libimobiledevice --HEAD
, that should grab the latest bits and hopefully resolve the issue.
WOW it works!
But the terminal still says run 404 and debug 500. But I thing its because i have to enable something called web inspector. I'll inspect into that :)
Thank you so much for your help, where do I send the red wine?
btw the HTTP 404 error that implies that the phone might be locked, is false, I did have it open, just so everyone else with the same problem will know whats happing :)
I have to apologize. I solved my issue by moving the hooks folder to the root of my project, not the root of the www-folder. It seems that I can build now, tonight I will check if it also deploys to my iPad.
If so, then I will close.
Hey guys, we are planning on making some changes to remote build to address this shortly. Please keep an eye out for a new release (probably coming in ~2 weeks or so).
Sounds good @mbraude !
Btw, I also needed to execute the brew upgrade libimobiledevice --HEAD command to get the built app on the device.
This info saved me. Thank you!
This helped me too. Automatic signing is OK with me, however it creates a local profile named: iOS Team Provisioning Profile: * which is only available locally on Mac
I also creates an App ID: XC Wildcard "" on Apple dev portal. I actually want this Automatic signing to use com.mycomp. App ID via my manual profile I created (that uses this App ID). I can switch to a local or manual (I created on the dev site) profile and I can build successfully on Mac and deploy successfully.
Q1: So will you have a settings to use our manually created profile in my case is it named: "XCode iOS Wildcard mycomp" that uses com.mycomp.* whildcard App ID. ? Q2: Will you have settings to choose provisioning profile manually created in custom signing (when we don't want automatic signing)? Q3: Little unrelated, but is there a way to use Chrome Tools for debugging Ios deployed app (the same way as it is used with chrome://devices/ inspection. I noticed {webDebugPort=9221}. Can this be used by Chrome debugging tools or other tools (except Visual Studio debugger)? The main reason is I want to use Augury for debugging Ionic 2 apps in iOS. (I believe even with Android debugging Augury might not be available - maybe due to the special Debugging inspector being opened)
Augury helps Angular 2.0 developers visualize the application through component trees, and visual debugging tools. Developers get immediate insight into their application structure, change detection and performance characteristics. Thanks, Rad
Hello, is there someone who knows to fix the RUN 404 issue? The workaround is simple: start the app manually just after deployment but don't wait too long (if you wait too long the debug step times out). It would be nice if it would start on its own :)
@Sroose Did you try updating libimobiledevice as described above?
@radrad We are still investigating exactly how best to solve the issues that xcode 8 introduced to the cordova signing workflow (the next version of cordova-ios is also looking at how to solve it, I'm not sure how it will answer your questions at the moment either).
For your third question, other tools which use the Chrome debugging protocol should be able to debug the site, with some caveats: chrome itself does not want to debug non-localhost sites, so you may need to do some port-forwarding to expose the remote mac port via a localhost port. There may also be some iOS specific quirks, for example iOS 10 does not enable breakpoints by default, you must explicitly tell the debugging engine to enable them and the chrome debugging frontend does not do this by default. Apart from that, the port 9221 is the port that ios-webkit-debug-proxy
is running on, and by connecting to that you can find a list of devices/simulators which are attached and exposed on other ports (e.g. ports 9222-9322) which behave in a similar way to chrome://inspect
MSLaguana@ Thanks. Is there any good read on this: "chrome itself does not want to debug non-localhost sites, so you may need to do some port-forwarding to expose the remote mac port via a localhost port." If there is also some good read on your remaining comments? I don't understand all of this connectivity. A picture would be worth a million. Who is doing Chrome based debugging on iOS devices or simulators and how?
To debug iOS devices, we make use of https://github.com/google/ios-webkit-debug-proxy
Running ios-webkit-debug-proxy on a mac makes a connection to iOS devices and simulators, and listens on a socket on the local machine (the mac running it) for incoming connections to connect through to the device. For example, it might transport traffic on port 9223
through to an iPhone connected to the mac. Any webkit webviews on the device (such as those used by Cordova), when the "web inspector" is enabled in settings, will be listening for a debugger to attach. Safari uses webkit and the debugging protocol is mostly the same as Chrome's, but there are some subtle differences that we've discovered by trial and error. Visual studio understands how to use the webkit/chrome debugging protocol, and some of these iOS specific changes, so it connects through to the device by talking to the appropriate port and speaks the protocol.
Chrome could in theory attach to the port and do exactly the same thing, except it refuses to connect to non-localhost ports (or did the last time I tried it). If you are familiar with port forwarding, you can forward a localhost port to the remote port, so you can tell chrome to attach to the localhost port and have it actually connect through to the remote device. I've not done port forwarding on a windows environment myself, but http://stackoverflow.com/questions/11525703/port-forwarding-in-windows may have a guide if you wish to experiment yourself.
If you want to see more, on the mac you can run ios_webkit_debug_proxy -c 9221:null,9222:9322
(I think) to start ios-webkit-debug-proxy (yes, it switches between dashes and underscores at different times) listening on port 9221 and using ports 9222 to 9322 for any devices which attach. You can then browse to localhost:9221
or localhost:9221/json
to see what data is there, and follow links around.
Thanks @MSLaguana. This is now more clear Are you saying that I execute: ios_webkit_debug_proxy -c 9221:null,9222:9322 on the mac and on windows: netsh interface portproxy add v4tov4 listenport=4422 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33 protocol=tcp If Mac IP address is: 192.168.0.10 and PC''s IP address: 192.168.0.20 what should above windows command look like. and is there an additional command to run on the Mac or windows. Is the next step to start Chrome tools and it will start working or Chrome has to be started with some parameters? Or Safari on windows can do some debugging too?
Can someone give a hand? Can't get a remote build to work, can't get ipa signed, dead in the water...
I updated to Xcode Version 8.2.1 (8C1002) and updated OS to macOS Sierra Version 10.12.3 (16D32)
With this, lost my ability from Visual Studio 2017 to build Release/iOS/Remote Device
Visual Studion 2017 Professional running on Windows 10 box using build.json:
"ios": { "debug": { "developmentTeam": "QFKTXA6TV3" }, "release": { "codeSignIdentity": "iPhone Developer", "developmentTeam": "QFKTXA6TV3", "packageType": "ad-hoc" } }
Have multiple times deleted certificates and provisioning profiles at developer.apple.com, deleted same from Keychain Access on mac, deleted provisioning profiles at ~/Library/MobileDevice, remove AppleId from xcode and rebuilt all.
I've tried all manner of permutations on the build.json file including adding "provisioniongProfile": xxx
With above build.json I get:
Check dependencies
No profiles for 'com.teamsportsinfo.api' were found: Xcode couldn't find a provisioning profile matching 'com.teamsportsinfo.api'.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
My apple certs and provisioning profiles are:
and
Any assistance is greatly appreciated, spring tournaments and leagues are about to start and I can't upload my mobile app...
Todd
As a quick workaround, if you go to ~/.taco_home/remote-builds/taco-remote/builds/<build ID>/cordovaApp
on the mac, you will find the copy of your project that we attempted to build. You should be able to build your app if you open platforms/ios/<project>.xcodeproj
and build from xcode.
If that works for you, then when you get a chance I'd appreciate if you could try rebuilding using remotebuild (or the Cordova command line in that same project on the mac) to see if xcode fixed some state / acquired some other profile,
MSLaguana,
I'm grateful for your assistance...
To preface, I'm not that familiar with the mac yet, so will need some guidance.
Based on my readings, I did go to the location using terminal, and did a "cordova build" which works fine and produces an ipa (which of course is not accepted by the app store because its not signed).
Can you coach me on how to get xcode to run a build?
T
You want to go to the platforms/ios/
folder and open up the *.xcodeproj
file in xcode. Once you have your project open in xcode, You might want to read through https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html and see whether all the settings are configured correctly (most should be) and see if xcode can help you configure the ones which are not.
Something else which may help: If you open up your config.xml in your project and change your <engine name="ios" spec="..." />
to <engine name="ios" spec="4.3.1" />
then that may be helpful as well. That will upgrade the version of cordova-ios that your project uses, and the newer versions are more compatible with the latest version of xcode.
Jimmy,
I want to try your config.xml change first, but I have no
I guessing that entity would have been created if I went with any iOS settings other than the default (which I didn't)
[image: Inline image 1]
On Mon, Mar 13, 2017 at 9:18 AM, Jimmy Thomson notifications@github.com wrote:
You want to go to the platforms/ios/ folder and open up the *.xcodeproj file in xcode. Once you have your project open in xcode, You might want to read through https://developer.apple.com/library/content/documentation/ IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ ConfiguringYourApp.html and see whether all the settings are configured correctly (most should be) and see if xcode can help you configure the ones which are not.
Something else which may help: If you open up your config.xml in your project and change your
to <engine name="ios" spec="4.3.1" /> then that may be helpful as well. That will upgrade the version of cordova-ios that your project uses, and the newer versions are more compatible with the latest version of xcode. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286158396, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeir9r5GytWid4KWSohdRn3odhKp0mwks5rlWw_gaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
My config.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <widget android-versionCode="5000006" id="com.teamsportsinfo.api" version="5.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv=" http://cordova.apache.org/ns/1.0">
On Mon, Mar 13, 2017 at 9:23 AM, Todd Greenwald < tgreenwald@teamsportsinfo.com> wrote:
Jimmy,
I want to try your config.xml change first, but I have no
entity in my file, can you detail where to insert? I guessing that entity would have been created if I went with any iOS settings other than the default (which I didn't)
[image: Inline image 1]
On Mon, Mar 13, 2017 at 9:18 AM, Jimmy Thomson notifications@github.com wrote:
You want to go to the platforms/ios/ folder and open up the *.xcodeproj file in xcode. Once you have your project open in xcode, You might want to read through https://developer.apple.com/library/content/documentation/ID Es/Conceptual/AppDistributionGuide/ConfiguringYourApp/Config uringYourApp.html and see whether all the settings are configured correctly (most should be) and see if xcode can help you configure the ones which are not.
Something else which may help: If you open up your config.xml in your project and change your
to <engine name="ios" spec="4.3.1" /> then that may be helpful as well. That will upgrade the version of cordova-ios that your project uses, and the newer versions are more compatible with the latest version of xcode. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286158396, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeir9r5GytWid4KWSohdRn3odhKp0mwks5rlWw_gaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
Hmm, I thought we added the engine tags. Was this project brought over from VS2015 to VS2017?
At any rate, you should be able to just add the <engine ... />
tag anywhere directly under the top-level <widget>
tag.
ok, after adding the
Touch build/device/TSICMobile.app.dSYM cd /Users/Todd/.taco_home/remote-builds/taco-remote/builds/ 14759/cordovaApp/platforms/ios export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/ iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode. app/Contents/Developer/usr/bin:/Users/Todd/.taco_home/ node_modules/taco-remote-lib/2.3.0/node_modules/ios-sim/ bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /usr/bin/touch -c /Users/Todd/.taco_home/remote- builds/taco-remote/builds/14759/cordovaApp/platforms/ ios/build/device/TSICMobile.app.dSYM
ARCHIVE SUCCEEDED
2017-03-13 09:33:57.116 xcodebuild[21641:1155721] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/_b/9pr9fhmd1yg_c4dqdpq2vzw40000gn/T/ TSICMobile_2017-03-13_09-33-57.115.xcdistributionlogs'. 1.2.840.113635.100.1.61 2017-03-13 09:33:57.359 xcodebuild[21641:1155721] [MT] IDEDistribution: -[IDEDistributionProvisioning _itemToSigningInfoMap:]: Can't find any applicable signing identities for items: ( "<IDEDistributionItem: 0x7ffd10fc4650 'com.teamsportsinfo.api' '<DVTFilePath:0x7ffd10b87eb0:'/Users/Todd/.taco_home/remote- builds/taco-remote/builds/14759/cordovaApp/platforms/ ios/TSICMobile.xcarchive/Products/Applications/TSICMobile.app'>'>" ) Errors={ "<DVTSigningCertificate: 0x7ffd10d9b110; name='iPhone Distribution: Todd Greenwald (QFKTXA6TV3)', hash='B2B7E8EBC3A7C880454E77940388B85E0F483323', serialNumber='4D1B0525E4B514AE', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2017-03-13 03:05:04 +0000''>" = { "<IDEDistributionItem: 0x7ffd10fc4650 'com.teamsportsinfo.api' '<DVTFilePath:0x7ffd10b87eb0:'/Users/Todd/.taco_home/remote- builds/taco-remote/builds/14759/cordovaApp/platforms/ ios/TSICMobile.xcarchive/Products/Applications/TSICMobile.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=10 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ffd0e776280; portalTeamID='QFKTXA6TV3', usingTeamBasedSigning='NO', bundleIdentifier='com.teamsportsinfo.api', targetName='(null)', provisioningProfilePurpose='2', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}"; }; } 2017-03-13 09:33:57.360 xcodebuild[21641:1155721] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7ffd10f2f780>: Error Domain=IDEDistributionErrorDomain Code=3 "(null)" UserInfo={ IDEDistributionErrorSigningIdentityToItemToUnderlyingErrorKey={ "<DVTSigningCertificate: 0x7ffd10d9b110; name='iPhone Distribution: Todd Greenwald (QFKTXA6TV3)', hash='B2B7E8EBC3A7C880454E77940388B85E0F483323', serialNumber='4D1B0525E4B514AE', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2017-03-13 03:05:04 +0000''>" = { "<IDEDistributionItem: 0x7ffd10fc4650 'com.teamsportsinfo.api' '<DVTFilePath:0x7ffd10b87eb0:'/Users/Todd/.taco_home/remote- builds/taco-remote/builds/14759/cordovaApp/platforms/ ios/TSICMobile.xcarchive/Products/Applications/TSICMobile.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=10 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ffd0e776280; portalTeamID='QFKTXA6TV3', usingTeamBasedSigning='NO', bundleIdentifier='com.teamsportsinfo.api', targetName='(null)', provisioningProfilePurpose='2', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}"; }; }} error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 3.)
Error Domain=IDEDistributionErrorDomain Code=3 "(null)" UserInfo={ IDEDistributionErrorSigningIdentityToItemToUnderlyingErrorKey={ "<DVTSigningCertificate: 0x7ffd10d9b110; name='iPhone Distribution: Todd Greenwald (QFKTXA6TV3)', hash='B2B7E8EBC3A7C880454E77940388B85E0F483323', serialNumber='4D1B0525E4B514AE', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2017-03-13 03:05:04 +0000''>" = { "<IDEDistributionItem: 0x7ffd10fc4650 'com.teamsportsinfo.api' '<DVTFilePath:0x7ffd10b87eb0:'/Users/Todd/.taco_home/remote- builds/taco-remote/builds/14759/cordovaApp/platforms/ ios/TSICMobile.xcarchive/Products/Applications/TSICMobile.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=10 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ffd0e776280; portalTeamID='QFKTXA6TV3', usingTeamBasedSigning='NO', bundleIdentifier='com.teamsportsinfo.api', targetName='(null)', provisioningProfilePurpose='2', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}"; }; }}
EXPORT FAILED
Failed to build app for buildNumber 14759: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,TSICMobile.xcarchive,- exportOptionsPlist,/Users/Todd/.taco_home/remote-builds/ taco-remote/builds/14759/cordovaApp/platforms/ios/exportOptions.plist,- exportPath,/Users/Todd/.taco_home/remote-builds/taco-remote/builds/14759/ cordovaApp/platforms/ios/build/device
On Mon, Mar 13, 2017 at 9:27 AM, Jimmy Thomson notifications@github.com wrote:
Hmm, I thought we added the engine tags. Was this project brought over from VS2015 to VS2017?
At any rate, you should be able to just add the <engine ... /> tag anywhere directly under the top-level
tag. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286161414, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeir6eaItBBAfepPEQ5-g3VTAcb0Kmbks5rlW5fgaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
It seems that xcode is claiming you don't have an appropriate provisioning profile: UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found
Note that I believe ad-hoc
does not mean "ready to be submit to the app store", I believe it is more for internal use / limited distribution. You may want to specify app-store
instead? Alternately if you do indeed mean to do an ad-hoc
distribution, then trying to build using xcode may be helpful since it can help you create provisioning profiles or find out what piece is missing.
One other thing: The newer cordova-ios
may no longer require that you specify iPhone Development
in release mode; see https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#using-buildjson for an up-to-date example.
Here' what I just did:
Normally the build completes, (then fails on export) after ~20 attempts or so
Currently at Attempt 102!
Will let this run a bit and get back to you.
T
On Mon, Mar 13, 2017 at 9:50 AM, Jimmy Thomson notifications@github.com wrote:
It seems that xcode is claiming you don't have an appropriate provisioning profile: UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found
Note that I believe ad-hoc does not mean "ready to be submit to the app store", I believe it is more for internal use / limited distribution. You may want to specify app-store instead? Alternately if you do indeed mean to do an ad-hoc distribution, then trying to build using xcode may be helpful since it can help you create provisioning profiles or find out what piece is missing.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286168715, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeirxCzLodYufmEocYobiIM5NlXkTBKks5rlXPPgaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
The mac was waiting on an KeyChain access dialog. I responded, then Windows 10 build completed AND SUCCEEDED
On to trying to upload to app store.
T
On Mon, Mar 13, 2017 at 10:20 AM, Todd Greenwald < tgreenwald@teamsportsinfo.com> wrote:
Here' what I just did:
- deleted my current provisioning profiles at developer.apple.com
- deleted local copies (rm -r ~/Library/MobileDevice/Provisioning Profiles"
- emptied trash
- quit xcode
- remade provisioning profile took option App Store NOT Ad Hoc (was this the correct move?)
- App ID: TSIC Mobile (QFKTXA6TV3.com.teamsportsinfo.api)
- it attached certificate for iOS Development (no choices offered)
- clicked download
- on the mac, double clicked the download
- that opened xcode
- then xcode/preferences/account, dlicked the "download" button for newly created provisioning profile: "TSICMobileApi2ProvisioningProfile" leaving me with:
- [image: Inline image 1]
- my Keychain Access now shows:
- [image: Inline image 2]
- stopped then started remotebuild
- back on the Windows 10 box, build Release/iOS/RemoteDevice
- build.json:
- "ios": {
- "debug": {
- "developmentTeam": "QFKTXA6TV3"
- },
- "release": {
- "codeSignIdentity": "iPhone Developer",
- "developmentTeam": "QFKTXA6TV3",
- "packageType": "ad-hoc"
- }
- }
- result:
Normally the build completes, (then fails on export) after ~20 attempts or so
Currently at Attempt 102!
Will let this run a bit and get back to you.
T
On Mon, Mar 13, 2017 at 9:50 AM, Jimmy Thomson notifications@github.com wrote:
It seems that xcode is claiming you don't have an appropriate provisioning profile: UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found
Note that I believe ad-hoc does not mean "ready to be submit to the app store", I believe it is more for internal use / limited distribution. You may want to specify app-store instead? Alternately if you do indeed mean to do an ad-hoc distribution, then trying to build using xcode may be helpful since it can help you create provisioning profiles or find out what piece is missing.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286168715, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeirxCzLodYufmEocYobiIM5NlXkTBKks5rlXPPgaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
Looks like your images aren't getting included, so I'm not sure how that looks.
Since you created a "App Store" certificate, not an ad-hoc certificate (which of these you want depends on what you want to do with the app, but if you want to put it on the app store then you need the app store certificate) you probably need to specify app-store
in the packageType
of the build.json
omg, uploaded to App Store. Have no idea what the difference was. (I went through the routine outlined MANY times), I wonder if your config.xml edit was significant.
In any case, I seem to be ok right now.
Greatly appreciative of your time,
Todd
On Mon, Mar 13, 2017 at 10:24 AM, Jimmy Thomson notifications@github.com wrote:
Looks like your images aren't getting included, so I'm not sure how that looks.
Since you created a "App Store" certificate, not an ad-hoc certificate (which of these you want depends on what you want to do with the app, but if you want to put it on the app store then you need the app store certificate) you probably need to specify app-store in the packageType of the build.json
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286180004, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeir03qfRjRhp-O3Xy3_BNgXfWO5VJmks5rlXvCgaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
Jimmy,
Need your assistance again.
Since last we spoke, I successfully uploaded ipa to app store, app was approved and loaded fine except for splash screen not working (employed default android splashscreen).
Entirely satisfactory for now, customers can start finding their schedules...
Today began addressing the splashscreen issue, here's what I did.
Resources build fine, config.xml entries created as expected.
Then VisualStudio2017 build/ios/remote
Fail with: Failed to build app for buildNumber 31929: Source path does not exist: resources\ios\icon\icon-40.png
So I examined the uploaded tgz Looking inside \Users\Todd.taco_home\remote-builds\taco-remote\builds\31929\upload_31929.tgz I find \TSICMobileApi2\resources\ios\icon\icon-40.png
I then examined the file structure: Looking in \Users\Todd.taco_home\remote-builds\taco-remote\builds\31929\cordovaApp\resources\ios\icon I find icon-40.png
Ok the file does exist.
I then looked at \Users\Todd.taco_home\remote-builds\taco-remote\builds\31929\build.log
No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-console" Copying plugin "remote/plugins/cordova-plugin-console" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-console" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-device" Copying plugin "remote/plugins/cordova-plugin-device" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-device" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-splashscreen" Copying plugin "remote/plugins/cordova-plugin-splashscreen" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-splashscreen" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-statusbar" Copying plugin "remote/plugins/cordova-plugin-statusbar" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-statusbar" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-whitelist" Copying plugin "remote/plugins/cordova-plugin-whitelist" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-whitelist" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-x-socialsharing" Copying plugin "remote/plugins/cordova-plugin-x-socialsharing" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-x-socialsharing" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-sqlite-storage" Copying plugin "remote/plugins/cordova-sqlite-storage" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-sqlite-storage" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/ionic-plugin-keyboard" Copying plugin "remote/plugins/ionic-plugin-keyboard" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/ionic-plugin-keyboard" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/phonegap-plugin-push" Copying plugin "remote/plugins/phonegap-plugin-push" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/phonegap-plugin-push" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". No version specified for cordova-plugin-vs-taco-support, retrieving version from config.xml No version for cordova-plugin-vs-taco-support saved in config.xml Attempting to use npm info for cordova-plugin-vs-taco-support to choose a compatible release npm info for cordova-plugin-vs-taco-support did not contain any engine info. Fetching latest release Calling plugman.fetch on plugin "cordova-plugin-vs-taco-support" Fetching plugin "cordova-plugin-vs-taco-support" via npm Copying plugin "/Users/Todd/.cordova/lib/npm_cache/cordova-plugin-vs-taco-support/0.2.3/package" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-vs-taco-support" No scripts found for hook "after_plugin_add". cordova platform add ios Executing script found in plugin cordova-plugin-vs-taco-support for hook "before_platform_add": plugins/cordova-plugin-vs-taco-support/hooks/hook-execute-bit-fix.js Executing script found in plugin cordova-plugin-vs-taco-support for hook "before_platform_add": plugins/cordova-plugin-vs-taco-support/hooks/hook-remove-plugin-json.js No version supplied. Retrieving version from config.xml... Adding ios project... PlatformApi successfully found for platform ios Creating Cordova project for the iOS platform: Path: platforms/ios Package: com.teamsportsinfo.api Name: TSICMobile Copying iOS template project to /Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/platforms/ios iOS project created with cordova-ios@4.3.1 Checking for any plugins added to the project that have not been installed in ios platform No differences found between plugins added to project and installed in ios platform. Continuing... Generating platform-specific config.xml from defaults for iOS at /Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/platforms/ios/TSICMobile/config.xml Merging project's config.xml into platform-specific iOS config.xml Merging and updating files from [www, platforms/ios/platform_www] to platforms/ios/www copy www/.gitkeep platforms/ios/www/.gitkeep (new file) mkdir platforms/ios/www/assets mkdir platforms/ios/www/assets/fonts copy www/assets/fonts/ionicons.eot platforms/ios/www/assets/fonts/ionicons.eot (new file) copy www/assets/fonts/ionicons.scss platforms/ios/www/assets/fonts/ionicons.scss (new file) copy www/assets/fonts/ionicons.svg platforms/ios/www/assets/fonts/ionicons.svg (new file) copy www/assets/fonts/ionicons.ttf platforms/ios/www/assets/fonts/ionicons.ttf (new file) copy www/assets/fonts/ionicons.woff platforms/ios/www/assets/fonts/ionicons.woff (new file) copy www/assets/fonts/ionicons.woff2 platforms/ios/www/assets/fonts/ionicons.woff2 (new file) copy www/assets/fonts/noto-sans-bold.ttf platforms/ios/www/assets/fonts/noto-sans-bold.ttf (new file) copy www/assets/fonts/noto-sans-bold.woff platforms/ios/www/assets/fonts/noto-sans-bold.woff (new file) copy www/assets/fonts/noto-sans-regular.ttf platforms/ios/www/assets/fonts/noto-sans-regular.ttf (new file) copy www/assets/fonts/noto-sans-regular.woff platforms/ios/www/assets/fonts/noto-sans-regular.woff (new file) copy www/assets/fonts/noto-sans.scss platforms/ios/www/assets/fonts/noto-sans.scss (new file) copy www/assets/fonts/roboto-bold.ttf platforms/ios/www/assets/fonts/roboto-bold.ttf (new file) copy www/assets/fonts/roboto-bold.woff platforms/ios/www/assets/fonts/roboto-bold.woff (new file) copy www/assets/fonts/roboto-bold.woff2 platforms/ios/www/assets/fonts/roboto-bold.woff2 (new file) copy www/assets/fonts/roboto-light.ttf platforms/ios/www/assets/fonts/roboto-light.ttf (new file) copy www/assets/fonts/roboto-light.woff platforms/ios/www/assets/fonts/roboto-light.woff (new file) copy www/assets/fonts/roboto-light.woff2 platforms/ios/www/assets/fonts/roboto-light.woff2 (new file) copy www/assets/fonts/roboto-medium.ttf platforms/ios/www/assets/fonts/roboto-medium.ttf (new file) copy www/assets/fonts/roboto-medium.woff platforms/ios/www/assets/fonts/roboto-medium.woff (new file) copy www/assets/fonts/roboto-medium.woff2 platforms/ios/www/assets/fonts/roboto-medium.woff2 (new file) copy www/assets/fonts/roboto-regular.ttf platforms/ios/www/assets/fonts/roboto-regular.ttf (new file) copy www/assets/fonts/roboto-regular.woff platforms/ios/www/assets/fonts/roboto-regular.woff (new file) copy www/assets/fonts/roboto-regular.woff2 platforms/ios/www/assets/fonts/roboto-regular.woff2 (new file) copy www/assets/fonts/roboto.scss platforms/ios/www/assets/fonts/roboto.scss (new file) mkdir platforms/ios/www/assets/icon copy www/assets/icon/favicon.ico platforms/ios/www/assets/icon/favicon.ico (new file) mkdir platforms/ios/www/build copy www/build/main.css platforms/ios/www/build/main.css (new file) copy www/build/main.css.map platforms/ios/www/build/main.css.map (new file) copy www/build/main.js platforms/ios/www/build/main.js (new file) copy www/build/main.js.map platforms/ios/www/build/main.js.map (new file) copy www/build/polyfills.js platforms/ios/www/build/polyfills.js (new file) copy www/build/sw-toolbox.js platforms/ios/www/build/sw-toolbox.js (new file) mkdir platforms/ios/www/cordova-js-src copy platforms/ios/platform_www/cordova-js-src/exec.js platforms/ios/www/cordova-js-src/exec.js (new file) copy platforms/ios/platform_www/cordova-js-src/platform.js platforms/ios/www/cordova-js-src/platform.js (new file) copy platforms/ios/platform_www/cordova.js platforms/ios/www/cordova.js (updated file) rmdir platforms/ios/www/css (no source) delete platforms/ios/www/css/index.css (no source) rmdir platforms/ios/www/img (no source) delete platforms/ios/www/img/logo.png (no source) copy www/index.html platforms/ios/www/index.html (updated file) rmdir platforms/ios/www/js (no source) delete platforms/ios/www/js/index.js (no source) copy www/manifest.json platforms/ios/www/manifest.json (new file) copy www/service-worker.js platforms/ios/www/service-worker.js (new file) Current launch storyboard undefined Not changing launch storyboard setting in info plist. Wrote out iOS Bundle Identifier "com.teamsportsinfo.api" and iOS Bundle Version "5.0.6" to /Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/platforms/ios/TSICMobile/TSICMobile-Info.plist Need to update build settings because project is using legacy launch images and no storyboard. Set ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME to LaunchImage because project is using legacy launch images and no storyboard. iOS Product Name has not changed (still "TSICMobile") Updating icons at platforms/ios/TSICMobile/Images.xcassets/AppIcon.appiconset/ Failed to build app for buildNumber 31929: Source path does not exist: resources\ios\icon\icon-40.png
and finally, looked at the output on the Visual Studio 2017 side:
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(320,5): warning : No compiler log specified, 'Clean' won't work. Cordova 6.5.0 ------ Platform ios already exists
| _ \ | |_ _| |_ () | | | | |) / \ ' ` \ / _ | / \ ' | | | | | |/ ` | | < / | | | | | (_) | || / |) | || | | | (| | || __|| || |_|_/ _\|./ \,|||_,|
------ Incremental Build: False ------ Submitting new build request to: https://Todds-Mac-mini.local:3000/cordova/build/tasks?command=build&vcordova=6.5.0&cfg=release&options=--device ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} ------ 03/15/2017 07:56:40 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 1] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:56:45 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 2] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:56:50 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 3] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:56:55 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 4] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:57:00 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 5] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:57:05 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 6] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:57:10 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 7] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:57:15 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 8] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:57:20 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 9] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:56:39.139Z"} Uploaded - Uploaded build request payload. ------ 03/15/2017 07:57:25 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 10] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Building","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":{"deletedFiles":[]},"buildSuccessful":false,"messageId":"AcquiringCordova","messageArgs":[null],"message":"Acquiring Cordova.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:57:22.850Z","appName":"TSICMobile"} Building - Acquiring Cordova. ------ 03/15/2017 07:57:30 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 11] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Building","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":{"deletedFiles":[]},"buildSuccessful":false,"messageId":"UpdatingPlatform","messageArgs":["ios"],"message":"Updating platform.","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:57:27.304Z","appName":"TSICMobile"} Building - Updating platform. ------ 03/15/2017 07:57:35 Checking on build status from https://todds-mac-mini.local:3000/cordova/build/tasks/31929 [Attempt 12] ------ New Build information: {"command":"build","vcordova":"6.5.0","cfg":"release","options":"--device","status":"Error","buildCommand":"build","buildPlatform":"ios","configuration":"release","buildDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929","buildNumber":31929,"logLevel":0,"submissionTime":"2017-03-15T14:56:33.738Z","changeList":{"deletedFiles":[]},"buildSuccessful":false,"messageId":"BuildFailedWithError","messageArgs":["Source path does not exist: resources\ios\icon\icon-40.png"],"message":"Build failed with error Source path does not exist: resources\ios\icon\icon-40.png","tgzFilePath":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/upload_31929.tgz","appDir":"/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp","statusTime":"2017-03-15T14:57:30.237Z","appName":"TSICMobile"} Error - Build failed with error Source path does not exist: resources\ios\icon\icon-40.png ------ Remote build log follows 1>MSBUILD : cordova-build error : Remote build error from the build server https://Todds-Mac-mini.local:3000/cordova - Build failed with error Source path does not exist: resources\ios\icon\icon-40.png No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-console" Copying plugin "remote/plugins/cordova-plugin-console" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-console" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-device" Copying plugin "remote/plugins/cordova-plugin-device" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-device" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-splashscreen" Copying plugin "remote/plugins/cordova-plugin-splashscreen" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-splashscreen" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-statusbar" Copying plugin "remote/plugins/cordova-plugin-statusbar" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-statusbar" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-whitelist" Copying plugin "remote/plugins/cordova-plugin-whitelist" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-whitelist" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-plugin-x-socialsharing" Copying plugin "remote/plugins/cordova-plugin-x-socialsharing" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-x-socialsharing" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/cordova-sqlite-storage" Copying plugin "remote/plugins/cordova-sqlite-storage" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-sqlite-storage" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/ionic-plugin-keyboard" Copying plugin "remote/plugins/ionic-plugin-keyboard" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/ionic-plugin-keyboard" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "remote/plugins/phonegap-plugin-push" Copying plugin "remote/plugins/phonegap-plugin-push" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/phonegap-plugin-push" No scripts found for hook "after_plugin_add". No scripts found for hook "before_plugin_add". No version specified for cordova-plugin-vs-taco-support, retrieving version from config.xml No version for cordova-plugin-vs-taco-support saved in config.xml Attempting to use npm info for cordova-plugin-vs-taco-support to choose a compatible release npm info for cordova-plugin-vs-taco-support did not contain any engine info. Fetching latest release Calling plugman.fetch on plugin "cordova-plugin-vs-taco-support" Fetching plugin "cordova-plugin-vs-taco-support" via npm Copying plugin "/Users/Todd/.cordova/lib/npm_cache/cordova-plugin-vs-taco-support/0.2.3/package" => "/Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/plugins/cordova-plugin-vs-taco-support" No scripts found for hook "after_plugin_add". cordova platform add ios Executing script found in plugin cordova-plugin-vs-taco-support for hook "before_platform_add": plugins/cordova-plugin-vs-taco-support/hooks/hook-execute-bit-fix.js Executing script found in plugin cordova-plugin-vs-taco-support for hook "before_platform_add": plugins/cordova-plugin-vs-taco-support/hooks/hook-remove-plugin-json.js No version supplied. Retrieving version from config.xml... Adding ios project... PlatformApi successfully found for platform ios Creating Cordova project for the iOS platform: Path: platforms/ios Package: com.teamsportsinfo.api Name: TSICMobile Copying iOS template project to /Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/platforms/ios iOS project created with cordova-ios@4.3.1 Checking for any plugins added to the project that have not been installed in ios platform No differences found between plugins added to project and installed in ios platform. Continuing... Generating platform-specific config.xml from defaults for iOS at /Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/platforms/ios/TSICMobile/config.xml Merging project's config.xml into platform-specific iOS config.xml Merging and updating files from [www, platforms/ios/platform_www] to platforms/ios/www copy www/.gitkeep platforms/ios/www/.gitkeep (new file) mkdir platforms/ios/www/assets mkdir platforms/ios/www/assets/fonts copy www/assets/fonts/ionicons.eot platforms/ios/www/assets/fonts/ionicons.eot (new file) copy www/assets/fonts/ionicons.scss platforms/ios/www/assets/fonts/ionicons.scss (new file) copy www/assets/fonts/ionicons.svg platforms/ios/www/assets/fonts/ionicons.svg (new file) copy www/assets/fonts/ionicons.ttf platforms/ios/www/assets/fonts/ionicons.ttf (new file) copy www/assets/fonts/ionicons.woff platforms/ios/www/assets/fonts/ionicons.woff (new file) copy www/assets/fonts/ionicons.woff2 platforms/ios/www/assets/fonts/ionicons.woff2 (new file) copy www/assets/fonts/noto-sans-bold.ttf platforms/ios/www/assets/fonts/noto-sans-bold.ttf (new file) copy www/assets/fonts/noto-sans-bold.woff platforms/ios/www/assets/fonts/noto-sans-bold.woff (new file) copy www/assets/fonts/noto-sans-regular.ttf platforms/ios/www/assets/fonts/noto-sans-regular.ttf (new file) copy www/assets/fonts/noto-sans-regular.woff platforms/ios/www/assets/fonts/noto-sans-regular.woff (new file) copy www/assets/fonts/noto-sans.scss platforms/ios/www/assets/fonts/noto-sans.scss (new file) copy www/assets/fonts/roboto-bold.ttf platforms/ios/www/assets/fonts/roboto-bold.ttf (new file) copy www/assets/fonts/roboto-bold.woff platforms/ios/www/assets/fonts/roboto-bold.woff (new file) copy www/assets/fonts/roboto-bold.woff2 platforms/ios/www/assets/fonts/roboto-bold.woff2 (new file) copy www/assets/fonts/roboto-light.ttf platforms/ios/www/assets/fonts/roboto-light.ttf (new file) copy www/assets/fonts/roboto-light.woff platforms/ios/www/assets/fonts/roboto-light.woff (new file) copy www/assets/fonts/roboto-light.woff2 platforms/ios/www/assets/fonts/roboto-light.woff2 (new file) copy www/assets/fonts/roboto-medium.ttf platforms/ios/www/assets/fonts/roboto-medium.ttf (new file) copy www/assets/fonts/roboto-medium.woff platforms/ios/www/assets/fonts/roboto-medium.woff (new file) copy www/assets/fonts/roboto-medium.woff2 platforms/ios/www/assets/fonts/roboto-medium.woff2 (new file) copy www/assets/fonts/roboto-regular.ttf platforms/ios/www/assets/fonts/roboto-regular.ttf (new file) copy www/assets/fonts/roboto-regular.woff platforms/ios/www/assets/fonts/roboto-regular.woff (new file) copy www/assets/fonts/roboto-regular.woff2 platforms/ios/www/assets/fonts/roboto-regular.woff2 (new file) copy www/assets/fonts/roboto.scss platforms/ios/www/assets/fonts/roboto.scss (new file) mkdir platforms/ios/www/assets/icon copy www/assets/icon/favicon.ico platforms/ios/www/assets/icon/favicon.ico (new file) mkdir platforms/ios/www/build copy www/build/main.css platforms/ios/www/build/main.css (new file) copy www/build/main.css.map platforms/ios/www/build/main.css.map (new file) copy www/build/main.js platforms/ios/www/build/main.js (new file) copy www/build/main.js.map platforms/ios/www/build/main.js.map (new file) copy www/build/polyfills.js platforms/ios/www/build/polyfills.js (new file) copy www/build/sw-toolbox.js platforms/ios/www/build/sw-toolbox.js (new file) mkdir platforms/ios/www/cordova-js-src copy platforms/ios/platform_www/cordova-js-src/exec.js platforms/ios/www/cordova-js-src/exec.js (new file) copy platforms/ios/platform_www/cordova-js-src/platform.js platforms/ios/www/cordova-js-src/platform.js (new file) copy platforms/ios/platform_www/cordova.js platforms/ios/www/cordova.js (updated file) rmdir platforms/ios/www/css (no source) delete platforms/ios/www/css/index.css (no source) rmdir platforms/ios/www/img (no source) delete platforms/ios/www/img/logo.png (no source) copy www/index.html platforms/ios/www/index.html (updated file) rmdir platforms/ios/www/js (no source) delete platforms/ios/www/js/index.js (no source) copy www/manifest.json platforms/ios/www/manifest.json (new file) copy www/service-worker.js platforms/ios/www/service-worker.js (new file) Current launch storyboard undefined Not changing launch storyboard setting in info plist. Wrote out iOS Bundle Identifier "com.teamsportsinfo.api" and iOS Bundle Version "5.0.6" to /Users/Todd/.taco_home/remote-builds/taco-remote/builds/31929/cordovaApp/platforms/ios/TSICMobile/TSICMobile-Info.plist Need to update build settings because project is using legacy launch images and no storyboard. Set ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME to LaunchImage because project is using legacy launch images and no storyboard. iOS Product Name has not changed (still "TSICMobile") Updating icons at platforms/ios/TSICMobile/Images.xcassets/AppIcon.appiconset/ Failed to build app for buildNumber 31929: Source path does not exist: resources\ios\icon\icon-40.png
Thoughts?
Todd
On Mon, Mar 13, 2017 at 10:26 AM, Todd Greenwald < tgreenwald@teamsportsinfo.com> wrote:
omg, uploaded to App Store. Have no idea what the difference was. (I went through the routine outlined MANY times), I wonder if your config.xml edit was significant.
In any case, I seem to be ok right now.
Greatly appreciative of your time,
Todd
On Mon, Mar 13, 2017 at 10:24 AM, Jimmy Thomson notifications@github.com wrote:
Looks like your images aren't getting included, so I'm not sure how that looks.
Since you created a "App Store" certificate, not an ad-hoc certificate (which of these you want depends on what you want to do with the app, but if you want to put it on the app store then you need the app store certificate) you probably need to specify app-store in the packageType of the build.json
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Microsoft/remotebuild/issues/5#issuecomment-286180004, or mute the thread https://github.com/notifications/unsubscribe-auth/AJeir03qfRjRhp-O3Xy3_BNgXfWO5VJmks5rlXvCgaJpZM4KHa8n .
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
-- Todd Greenwald President, TeamSportsInfo.com tgreenwald@teamsportsinfo.com 410-703-3450
I believe that the error is because you are using backslashes and not forward slashes in the path. If you open up your config.xml, you should see an entry in there referring to the icon-40.png: try replacing the backslashes in the path with forward slashes.
Building for iOS or deploying to remote or local iOS device results in this error:
When you build your Cordova project in Xcode directly, it states that you have to set a development team in the project settings. From within Visual Studio you can do that with changing your build.json as below:
It seems that remotebuild does not handle this.