newrelic / newrelic-cordova-ios

A PhoneGap / Cordova plugin for New Relic's iOS SDK
18 stars 10 forks source link

Missing Info.plist #8

Open mattstabeler opened 8 years ago

mattstabeler commented 8 years ago

Seems to have been removed in 1322d8d8d184a3c903fc4261aaea8b5db51e31c7 Was this on purpose?

Causes this error in simulator

 <Error>: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=PackageInspectionFailed, ErrorDescription=Failed to load Info.plist from bundle at path /Users/xxxx/Library/Developer/CoreSimulator/Devices/A0C94FF7-6370-4BA2-A2BE-54E69E48351D/data/Library/Caches/com.apple.mobile.installd.staging/temp.HQiMtQ/extracted/Payload/xxxx.app/Frameworks/NewRelicAgent.framework}
mattstabeler commented 8 years ago

Managed to get it to work by installing from commit 774d138 (cloned project, installed by cordova plugin add /path/to/newrelic-cordova-ios#774d138 then run cordova build ios then copy Info.plist from that branch (e.g. download from here https://github.com/newrelic/newrelic-cordova-ios/blob/567d9e670091b14b055eced01a688b6e615fa7be/src/ios/NewRelicAgent.framework/Versions/A/Resources/Info.plist) directly into platforms/ios/xxx/Plugins/com.newrelic.ios.cordova/NewRelicAgent.framework/Info.plist