ios - CocoaPods: Invalid `Podfile` file: No such file or directory - podIntegration -


i want write ios-plugin in objective-c code integrate nativescript application. created new static library (objective c) (i'm new - how call it?) xcode 7. want integrate library plugin nativescript app.

i have following structure in plugin:

-podintegration ---package.json ---platforms       ---ios           ---podfile           ---podfile.lock ---podintegration      ---podintegration           ---info.plist           ---podintegration.h           ---myclass.h           ---myclass.m      ---podintegration.xcodeproj      ---podintegration.xcworkspace      ---pods           ---//some braintree folders           ---local podspecs (empty)           ---manifest.lock           ---pods.xcodeproj           ---target support files                ---//braintree stuff again                ---pods-podintegration                     ---...-acknowledgements.markdown                     ---...-acknowledgements.plist                     ---...-dummy.m                     ---...-resources.sh                     ---...debug.xcconfig                     ---...release.xcconfig 

i navigated app , executed tns plugin add ../foldername worked out fine. in code said import { class-name } plugin-name. ran tns run ios , got following message(s):

 #  /users/admin/dev/mycocoapodsapp/platforms/ios/podfile:7  #  -------------------------------------------  #  # begin podfile - /users/admin/dev/mycocoapodsapp/node_modules/podintegration/platforms/ios/podfile   >   target `podintegration`  #    #  ------------------------------------------- command pod failed exit code 1 # build ios 

my podfile in plugin:

target `podintegration`    pod 'braintreedropin' end 

my podfile in project:

use_frameworks!  target "mycocoapodsapp"   # begin podfile - /users/admin/dev/mycocoapodsapp/node_modules/podintegration/platforms/ios/podfile   target `podintegration`    pod 'braintreedropin'  end   # end podfile   end 


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -