EddyVerbruggen / nativescript-admob

NativeScript plugin to earn some precious :moneybag::moneybag: with ads by Google AdMob
MIT License
69 stars 26 forks source link

Urgent: Build Failed (Nativescript + Angular) #20

Closed brandonwilliams closed 7 years ago

brandonwilliams commented 7 years ago

I added this plugin to my project and it immediately stopped building for iOS. I was following Nic Raboy's tutorial for adding nativescript-admob to a Nativescript + Angular project:

The following build commands failed:
Ld /Users/Me/Library/Developer/Xcode/DerivedData/MyProject-fsdfsdfsdfsdf/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MyProject normal x86_64
(1 failure)
Unable to sync files. Error is: Command xcodebuild failed with exit code 65

I tried removing it with tns plugin remove nativescript-admob and it says: "Successfully removed plugin nativescript-admob for ios."

...but it still won't build and I get the same error even after removing the plugin.

I created a fresh tns create ProjectName --ng (which worked fine initially) and I added admob to it again with "tns plugin add nativescript-admob" and the error returned and would not go away after removing the plugin just like before.

UPDATE: The plugin still prevents the project from building, but deleting the ios platform and removing the plugin before building again with "tns run ios" allows the project to build again as normal (without admob). I added the plugin again and the build failed like before.

brandonwilliams commented 7 years ago

It was an error on my part. Closing.