{"action":"created","issue":{"url":"https://api.github.com/repos/sensepost/objection/issues/105","repository_url":"https://api.github.com/repos/sensepost/objection","labels_url":"https://api.github.com/repos/sensepost/objection/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/sensepost/objection/issues/105/comments","events_url":"https://api.github.com/repos/sensepost/objection/issues/105/events","html_url":"https://github.com/sensepost/objection/issues/105","id":340911898,"node_id":"MDU6SXNzdWUzNDA5MTE4OTg=","number":105,"title":"Error while patching","user":{"login":"bikee1235","id":23609848,"node_id":"MDQ6VXNlcjIzNjA5ODQ4","avatar_url":"https://avatars2.githubusercontent.com/u/23609848?v=4","gravatar_id":"","url":"https://api.github.com/users/bikee1235","html_url":"https://github.com/bikee1235","followers_url":"https://api.github.com/users/bikee1235/followers","following_url":"https://api.github.com/users/bikee1235/following{/other_user}","gists_url":"https://api.github.com/users/bikee1235/gists{/gist_id}","starred_url":"https://api.github.com/users/bikee1235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bikee1235/subscriptions","organizations_url":"https://api.github.com/users/bikee1235/orgs","repos_url":"https://api.github.com/users/bikee1235/repos","events_url":"https://api.github.com/users/bikee1235/events{/privacy}","received_events_url":"https://api.github.com/users/bikee1235/received_events","type":"User","site_admin":false},"labels":[{"id":879008220,"node_id":"MDU6TGFiZWw4NzkwMDgyMjA=","url":"https://api.github.com/repos/sensepost/objection/labels/apps","name":"apps","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-13T07:29:58Z","updated_at":"2018-07-18T09:31:19Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI m getting an error while patching an IPA\r\n\r\n```\r\n**Pre-Test-Sub:Desktop radmin$ objection patchipa --source ~/Desktop/pcloudhelper.ipa  --codesign-signature KNHUXXXXXX**\r\n\r\n\r\nA newer version of objection is available!\r\nYou have v1.2.9 and v1.4.1 is ready for download.\r\n\r\nUpgrade with: pip3 install objection --upgrade\r\nFor more information, please see: https://github.com/sensepost/objection/wiki/Updating\r\n\r\nUsing latest Github gadget version: 12.0.3\r\nPatcher will be using Gadget version: 12.0.3\r\nNo provision file specified, searching for one...\r\nNo provisioning files found. Please specify one or generate one by building an app.\r\nWorking with app: pcloudyhelper.app\r\nBundle identifier is: com.pcloudy.pcloudyhelper\r\nCreating Frameworks directory for FridaGadget...\r\nCodesigning 1 .dylib's with signature KNHU2BX5V9\r\nCode signing: FridaGadget.dylib\r\nCreating new archive with patched contents...\r\nCodesigning patched IPA...\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/objection\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 1066, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/objection/console/cli.py\", line 207, in patchipa\r\n    patch_ios_ipa(**locals())\r\n  File \"/usr/local/lib/python3.6/site-packages/objection/commands/mobile_packages.py\", line 70, in patch_ios_ipa\r\n    patcher.archive_and_codesign(original_name=source, codesign_signature=codesign_signature)\r\n  File \"/usr/local/lib/python3.6/site-packages/objection/utils/patchers/ios.py\", line 405, in archive_and_codesign\r\n    self.patched_ipa_path\r\n  File \"/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py\", line 461, in list2cmdline\r\n    needquote = (\" \" in arg) or (\"\\t\" in arg) or not arg\r\nTypeError: argument of type 'NoneType' is not iterable\r\nCleaning up temp files...\r\n\r\n\r\n\r\n**Failed to cleanup with error: [Errno 2] No such file or directory: '/var/folders/1r/zlmjmrz52x93ky7bccddxtgr0000gn/T/pcloudyhelper-frida-codesigned.ipa'**\r\n```\r\n\r\nPlease help me in this \r\n\r\nWhat's need to changes\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sensepost/objection/issues/comments/405870687","html_url":"https://github.com/sensepost/objection/issues/105#issuecomment-405870687","issue_url":"https://api.github.com/repos/sensepost/objection/issues/105","id":405870687,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTg3MDY4Nw==","user":{"login":"rustymagnet3000","id":5367141,"node_id":"MDQ6VXNlcjUzNjcxNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/5367141?v=4","gravatar_id":"","url":"https://api.github.com/users/rustymagnet3000","html_url":"https://github.com/rustymagnet3000","followers_url":"https://api.github.com/users/rustymagnet3000/followers","following_url":"https://api.github.com/users/rustymagnet3000/following{/other_user}","gists_url":"https://api.github.com/users/rustymagnet3000/gists{/gist_id}","starred_url":"https://api.github.com/users/rustymagnet3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustymagnet3000/subscriptions","organizations_url":"https://api.github.com/users/rustymagnet3000/orgs","repos_url":"https://api.github.com/users/rustymagnet3000/repos","events_url":"https://api.github.com/users/rustymagnet3000/events{/privacy}","received_events_url":"https://api.github.com/users/rustymagnet3000/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T09:31:18Z","updated_at":"2018-07-18T09:31:18Z","author_association":"NONE","body":"Hey @bikee1235 \r\n\r\nis the issue here? \r\n```\r\nNo provision file specified, searching for one...\r\nNo provisioning files found. Please specify one or generate one by building an app.\r\n```\r\n\r\nI always create an embedded.mobileprovision file with my device's UUID inside, with an empty xCode project.  Then add the following in your patchipa command:\r\n\r\n` -p embedded.mobileprovision`"}}
{"actor":{"display_login":"rustymagnet3000"}}