{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/6055","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/6055/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/6055/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/6055/events","html_url":"https://github.com/NativeScript/NativeScript/issues/6055","id":340141691,"node_id":"MDU6SXNzdWUzNDAxNDE2OTE=","number":6055,"title":"iOS Run on Device -> ARCHIVE FAILED","user":{"login":"delanick","id":28741565,"node_id":"MDQ6VXNlcjI4NzQxNTY1","avatar_url":"https://avatars3.githubusercontent.com/u/28741565?v=4","gravatar_id":"","url":"https://api.github.com/users/delanick","html_url":"https://github.com/delanick","followers_url":"https://api.github.com/users/delanick/followers","following_url":"https://api.github.com/users/delanick/following{/other_user}","gists_url":"https://api.github.com/users/delanick/gists{/gist_id}","starred_url":"https://api.github.com/users/delanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delanick/subscriptions","organizations_url":"https://api.github.com/users/delanick/orgs","repos_url":"https://api.github.com/users/delanick/repos","events_url":"https://api.github.com/users/delanick/events{/privacy}","received_events_url":"https://api.github.com/users/delanick/received_events","type":"User","site_admin":false},"labels":[{"id":798721757,"node_id":"MDU6TGFiZWw3OTg3MjE3NTc=","url":"https://api.github.com/repos/NativeScript/NativeScript/labels/needs%20more%20info","name":"needs more info","color":"fbca04","default":false},{"id":203690306,"node_id":"MDU6TGFiZWwyMDM2OTAzMDY=","url":"https://api.github.com/repos/NativeScript/NativeScript/labels/os:%20ios","name":"os: ios","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2018-07-11T08:30:14Z","updated_at":"2018-07-26T12:15:39Z","closed_at":"2018-07-20T07:15:43Z","author_association":"NONE","body":"Hey guys, I'm receiving the below error, and have pasted my logs too. Please advise what I may be doing wrong. As far as I can see, my certs are correct.\r\n\r\nWhen doing the build, it eventually fails with an ARCHIVE FAILED message. See below:\r\n\r\n```\r\nDevice Console\r\n[18-07-11 10:26:32.836] (CLI)     0x00000018 <uint32>=0x00000001 \r\n[18-07-11 10:26:32.836] (CLI)     0x00000019 <uint32>=0x00000001 \r\n[18-07-11 10:26:32.836] (CLI)     0x0000001A <uint32>=0x00000001 \r\n[18-07-11 10:26:32.836] (CLI)  Building project ...\r\n[18-07-11 10:26:35.921] (CLI) ▸ Check Dependencies\r\n[18-07-11 10:26:35.921] (CLI)  ▸ Processing Info.plist\r\n[18-07-11 10:26:35.921] (CLI)  ▸ Compiling MMNumberKeyboard-dummy.m\r\n[18-07-11 10:26:39.208] (CLI) ▸ Check Dependencies\r\n[18-07-11 10:26:39.208] (CLI)  ▸ Processing Info.plist\r\n[18-07-11 10:26:39.208] (CLI)  ▸ Compiling MMNumberKeyboard-dummy.m\r\n[18-07-11 10:26:40.312] (CLI) ▸ Compiling MMNumberKeyboard.m\r\n[18-07-11 10:26:42.215] (CLI) ▸ Compiling MMNumberKeyboard_vers.c\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MMNumberKeyboard-dummy.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MMNumberKeyboard.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MMNumberKeyboard_vers.c\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Linking MMNumberKeyboard\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Linking MMNumberKeyboard\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Copying MMNumberKeyboard-umbrella.h\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Copying MMNumberKeyboard.h\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Touching MMNumberKeyboard.framework\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Check Dependencies\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Processing ResourceBundle-MNFloatingActionButton-Info.plist\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Touching MNFloatingActionButton.bundle\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Check Dependencies\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Processing Info.plist\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MNFloatingActionButton-dummy.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MNFloatingActionButton.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MNFloatingActionButton_vers.c\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MNFloatingActionButton-dummy.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MNFloatingActionButton.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling MNFloatingActionButton_vers.c\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Linking MNFloatingActionButton\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Linking MNFloatingActionButton\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Copying /tmp/builds/_/91c8f8f263bdd7925bdb662b2cfa010fe5ab402e/4.1.2/JacsPack/platforms/ios/build/archive/Debug-iphoneos/MNFloatingActionButton/MNFloatingActionButton.bundle\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Copying MNFloatingActionButton-umbrella.h\r\n[18-07-11 10:26:42.215] (CLI) ▸ Copying MNFloatingActionButton.h\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Touching MNFloatingActionButton.framework\r\n[18-07-11 10:26:42.215] (CLI) ▸ Building Pods/Pods-JacsPack [Debug]\r\n[18-07-11 10:26:42.215] (CLI) ▸ Check Dependencies\r\n[18-07-11 10:26:42.215] (CLI) ▸ Processing Info.plist\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling Pods_JacsPack_vers.c\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling Pods-JacsPack-dummy.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling Pods-JacsPack-dummy.m\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Compiling Pods_JacsPack_vers.c\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Copying Pods-JacsPack-umbrella.h\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Touching Pods_JacsPack.framework\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Check Dependencies\r\n[18-07-11 10:26:42.215] (CLI) Check Pods Manifest.lock'\r\n[18-07-11 10:26:42.215] (CLI)  ▸ Running script 'NativeScript PreBuild'\r\n[18-07-11 10:26:52.784] (CLI) ▸ Precompiling JacsPack/JacsPack-Prefix.pch\r\n[18-07-11 10:26:54.504] (CLI) ▸ Precompiling JacsPack/JacsPack-Prefix.pch\r\n[18-07-11 10:26:54.504] (CLI)  ▸ Compiling main.m\r\n[18-07-11 10:26:54.504] (CLI)  ▸ Compiling main.m\r\n[18-07-11 10:26:54.504] (CLI)  ▸ Linking JacsPack\r\n[18-07-11 10:26:54.504] (CLI)  ▸ Linking JacsPack\r\n[18-07-11 10:26:55.415] (CLI) ▸ Running script 'NativeScript PreLink'\r\n[18-07-11 10:26:55.415] (CLI)  ▸ Copying InfoPlist.strings\r\n[18-07-11 10:27:02.055] (CLI) ▸ Compiling LaunchScreen.storyboard\r\n[18-07-11 10:27:02.055] (CLI)  ** ARCHIVE FAILED **\r\n[18-07-11 10:27:02.055] (CLI) The following build commands failed:\r\n[18-07-11 10:27:02.055] (CLI)  \\tCompileAssetCatalog DerivedData/JacsPack/Build/Intermediates.noindex/ArchiveIntermediates/JacsPack/InstallationBuildProductsLocation/Applications/JacsPack.app JacsPack/Resources/Assets.xcassets\r\n[18-07-11 10:27:02.055] (CLI) (1 failure)\r\n[18-07-11 10:27:04.583] (CLI) ** ARCHIVE FAILED **\r\n[18-07-11 10:27:04.583] (CLI) The following build commands failed:\r\n[18-07-11 10:27:04.583] (CLI) \\tCompileAssetCatalog DerivedData/JacsPack/Build/Intermediates.noindex/ArchiveIntermediates/JacsPack/InstallationBuildProductsLocation/Applications/JacsPack.app JacsPack/Resources/Assets.xcassets\r\n[18-07-11 10:27:04.583] (CLI) (1 failure)\r\n[18-07-11 10:27:15.215] (CLI) Unable to apply changes on device: e7abe2b6b8f59f1e8974e3088b82ede981d5d99c. Error is: Build failed..\r\n[18-07-11 10:27:15.222] Error detected during LiveSync on e7abe2b6b8f59f1e8974e3088b82ede981d5d99c for /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/Jacs Pack. Error: Build failed.\r\n[18-07-11 10:27:15.245] (CLI) Executing after-watch hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/Jacs Pack/hooks/after-watch/nativescript-dev-webpack.js\r\n[18-07-11 10:27:15.249] Stopped LiveSync on e7abe2b6b8f59f1e8974e3088b82ede981d5d99c for /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/Jacs Pack.\r\n[18-07-11 10:27:15.250] Couldn't enable debugging for e7abe2b6b8f59f1e8974e3088b82ede981d5d99c, Error: Couldn't enable debugging for e7abe2b6b8f59f1e8974e3088b82ede981d5d99c\r\n    at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)\r\n    at Errors.failWithoutHelp (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:135:21)\r\n    at LiveSyncService.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/services/livesync/livesync-service.js:225:30)\r\n    at Generator.next (<anonymous>)\r\n    at /usr/local/lib/node_modules/nativescript/lib/services/livesync/livesync-service.js:13:71\r\n    at new Promise (<anonymous>)\r\n    at __awaiter (/usr/local/lib/node_modules/nativescript/lib/services/livesync/livesync-service.js:9:12)\r\n    at LiveSyncService.enableDebuggingCoreWithoutWaitingCurrentAction (/usr/local/lib/node_modules/nativescript/lib/services/livesync/livesync-service.js:222:16)\r\n    at LiveSyncService.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/services/livesync/livesync-service.js:262:25)\r\nOUTPUT 11\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/408077388","html_url":"https://github.com/NativeScript/NativeScript/issues/6055#issuecomment-408077388","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/6055","id":408077388,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODA3NzM4OA==","user":{"login":"delanick","id":28741565,"node_id":"MDQ6VXNlcjI4NzQxNTY1","avatar_url":"https://avatars3.githubusercontent.com/u/28741565?v=4","gravatar_id":"","url":"https://api.github.com/users/delanick","html_url":"https://github.com/delanick","followers_url":"https://api.github.com/users/delanick/followers","following_url":"https://api.github.com/users/delanick/following{/other_user}","gists_url":"https://api.github.com/users/delanick/gists{/gist_id}","starred_url":"https://api.github.com/users/delanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delanick/subscriptions","organizations_url":"https://api.github.com/users/delanick/orgs","repos_url":"https://api.github.com/users/delanick/repos","events_url":"https://api.github.com/users/delanick/events{/privacy}","received_events_url":"https://api.github.com/users/delanick/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T12:15:39Z","updated_at":"2018-07-26T12:15:39Z","author_association":"NONE","body":"@ggarabedian I have used both approaches, so perhaps I attached the latter approach's cert. Will try the other and advise asap.\r\n\r\nRegarding improving the console notifications - I would really appreciate that! I'm not a professional but I'm growing in my skills at a furious pace and feel I am becoming really decent at {N} development, but errors like this stop me dead in my tracks as I have no clue how to fix them :)\r\n\r\n@LucasBBR I always use Clean Build . - well until yesterday as now it seems any build was a clean build and eating into my Cloud Build quota. But I saw it slowed down and kind of returned to normal late last night.\r\n\r\nWill keep you guys posted! :)"}}
{"actor":{"display_login":"delanick"}}