{"action":"created","issue":{"url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug/issues/1","repository_url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug","labels_url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug/issues/1/comments","events_url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug/issues/1/events","html_url":"https://github.com/mattlewis92/cordova-plugin-is-debug/issues/1","id":196056954,"number":1,"title":"iOS Xcode problem: no rule to process file","user":{"login":"filipsuk","id":6044955,"avatar_url":"https://avatars.githubusercontent.com/u/6044955?v=3","gravatar_id":"","url":"https://api.github.com/users/filipsuk","html_url":"https://github.com/filipsuk","followers_url":"https://api.github.com/users/filipsuk/followers","following_url":"https://api.github.com/users/filipsuk/following{/other_user}","gists_url":"https://api.github.com/users/filipsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/filipsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipsuk/subscriptions","organizations_url":"https://api.github.com/users/filipsuk/orgs","repos_url":"https://api.github.com/users/filipsuk/repos","events_url":"https://api.github.com/users/filipsuk/events{/privacy}","received_events_url":"https://api.github.com/users/filipsuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-16T13:15:51Z","updated_at":"2016-12-16T14:37:11Z","closed_at":null,"body":"When I try to compile my ionic2 application in Xcode I get this warning:\r\n\r\n```\r\nwarning: no rule to process file '/Users/filipsuk/IonicProjects/faviApp/platforms/ios/Favi.cz/Plugins/cordova-plugin-is-debug/IsDebug.h' of type sourcecode.c.h for architecture armv7\r\nwarning: no rule to process file '/Users/filipsuk/IonicProjects/faviApp/platforms/ios/Favi.cz/Plugins/cordova-plugin-is-debug/IsDebug.h' of type sourcecode.c.h for architecture arm64\r\n```\r\n\r\nAnd also the plugin does not seem to detect debug mode on ios for me.\r\n\r\nMy system info:\r\n\r\nCordova CLI: 6.4.0 \r\nIonic Framework Version: 2.0.0-rc.3\r\nIonic CLI Version: 2.1.13\r\nIonic App Lib Version: 2.1.7\r\nIonic App Scripts Version: 0.0.45\r\nios-deploy version: 1.9.0 \r\nios-sim version: 5.0.11 \r\nOS: OS X El Capitan\r\nNode Version: v7.0.0\r\nXcode version: Xcode 8.1 Build version 8B62\r\n\r\nThanks for the plugin!"},"comment":{"url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug/issues/comments/267607085","html_url":"https://github.com/mattlewis92/cordova-plugin-is-debug/issues/1#issuecomment-267607085","issue_url":"https://api.github.com/repos/mattlewis92/cordova-plugin-is-debug/issues/1","id":267607085,"user":{"login":"filipsuk","id":6044955,"avatar_url":"https://avatars.githubusercontent.com/u/6044955?v=3","gravatar_id":"","url":"https://api.github.com/users/filipsuk","html_url":"https://github.com/filipsuk","followers_url":"https://api.github.com/users/filipsuk/followers","following_url":"https://api.github.com/users/filipsuk/following{/other_user}","gists_url":"https://api.github.com/users/filipsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/filipsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipsuk/subscriptions","organizations_url":"https://api.github.com/users/filipsuk/orgs","repos_url":"https://api.github.com/users/filipsuk/repos","events_url":"https://api.github.com/users/filipsuk/events{/privacy}","received_events_url":"https://api.github.com/users/filipsuk/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T14:37:10Z","updated_at":"2016-12-16T14:37:10Z","body":"For example I want to use GA only in production mode:\r\n```\r\nIsDebug.getIsDebug().then((isDebug: boolean) => {\r\n        if (!isDebug) {\r\n          GoogleAnalytics.startTrackerWithId(AppConfig.GOOGLE_ANALYTICS_ID);\r\n        }\r\n      });\r\n```\r\n\r\nThis works on Android, not on iOS when running the app from Xcode."}}
{"actor":{"display_login":"filipsuk"}}