{"action":"created","issue":{"url":"https://api.github.com/repos/bradmartin/nativescript-lottie/issues/5","repository_url":"https://api.github.com/repos/bradmartin/nativescript-lottie","labels_url":"https://api.github.com/repos/bradmartin/nativescript-lottie/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bradmartin/nativescript-lottie/issues/5/comments","events_url":"https://api.github.com/repos/bradmartin/nativescript-lottie/issues/5/events","html_url":"https://github.com/bradmartin/nativescript-lottie/issues/5","id":207085287,"number":5,"title":"Can't run app for iOS","user":{"login":"jlooper","id":1450004,"avatar_url":"https://avatars.githubusercontent.com/u/1450004?v=3","gravatar_id":"","url":"https://api.github.com/users/jlooper","html_url":"https://github.com/jlooper","followers_url":"https://api.github.com/users/jlooper/followers","following_url":"https://api.github.com/users/jlooper/following{/other_user}","gists_url":"https://api.github.com/users/jlooper/gists{/gist_id}","starred_url":"https://api.github.com/users/jlooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlooper/subscriptions","organizations_url":"https://api.github.com/users/jlooper/orgs","repos_url":"https://api.github.com/users/jlooper/repos","events_url":"https://api.github.com/users/jlooper/events{/privacy}","received_events_url":"https://api.github.com/users/jlooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-12T22:14:33Z","updated_at":"2017-02-13T02:14:12Z","closed_at":null,"body":"I can't run my own integration of Lottie for iOS, and since can reproduce the error I get on my own work when I run the demo app, I figure there's something wrong:\r\n\r\n```\r\n1   0x1059ad7cb NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)\r\n2   0x1060821ee ffi_closure_unix64_inner\r\n3   0x106082b22 ffi_closure_unix64\r\n4   0x106db2e70 -[UIViewController view]\r\n5   0x106c7c4b5 -[UIWindow addRootViewControllerViewIfPossible]\r\n6   0x106c7cc06 -[UIWindow _setHidden:forced:]\r\n7   0x106c90519 -[UIWindow makeKeyAndVisible]\r\n8   0x10608297d ffi_call_unix64\r\n9   0x121917cd0\r\nfile:///app/tns_modules/tns-core-modules/ui/builder/builder.js:175:56: JS ERROR Error: Building UI from XML. @file:///app/main-page.xml:12:17\r\n\t > Can't find variable: LAAnimationView\r\nFeb 12 17:05:50 LOOPERMAC com.apple.CoreSimulator.SimDevice.1552CC18-C70B-4209-9F17-D04A886CD04C.launchd_sim[76258] (UIKitApplication:org.nativescript.demo[0xdba5][76815]): Service exited due to Segmentation fault: 11\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bradmartin/nativescript-lottie/issues/comments/279278443","html_url":"https://github.com/bradmartin/nativescript-lottie/issues/5#issuecomment-279278443","issue_url":"https://api.github.com/repos/bradmartin/nativescript-lottie/issues/5","id":279278443,"user":{"login":"NathanWalker","id":457187,"avatar_url":"https://avatars.githubusercontent.com/u/457187?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanWalker","html_url":"https://github.com/NathanWalker","followers_url":"https://api.github.com/users/NathanWalker/followers","following_url":"https://api.github.com/users/NathanWalker/following{/other_user}","gists_url":"https://api.github.com/users/NathanWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanWalker/subscriptions","organizations_url":"https://api.github.com/users/NathanWalker/orgs","repos_url":"https://api.github.com/users/NathanWalker/repos","events_url":"https://api.github.com/users/NathanWalker/events{/privacy}","received_events_url":"https://api.github.com/users/NathanWalker/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T02:14:12Z","updated_at":"2017-02-13T02:14:12Z","body":"@jlooper I just ran the demo just fine. The latest Pod that is installed is `1.0.0` of `lottie-ios` which is correct.\r\n\r\nI just pushed up a small tweak to the demo run command. Ever since the 2.5.0 {N} release, I have been using `tns run ios --emulator` instead of `tns emulate ios` since I read the emulate command was being deprecated or removed, not sure if related but make sure you're using the run command.\r\n\r\nAll works here after a complete clear of everything in this plugin and fresh setup.\r\n\r\nThis error:\r\n```\r\nCan't find variable: LAAnimationView\r\n```\r\n...is directly indicative of the Pod not getting installed. When you run `tns run ios --emulator`, make sure you see the pod being installed in the output - Also double-check that `nativescript-lottie` is in your project's `package.json` `dependencies` section; if it's not, no Cocoapod would ever be installed.\r\n"}}
{"actor":{"display_login":"NathanWalker"}}