简体   繁体   中英

Stripe with apple watch extension

I am using the pod Stripe for my ios app with watch extension. After add line "pod 'Strip' " in my pod file, run "pod install". My app cant compile. Xcode gives errors: 'sharedApplication' is unavailable: not available on iOS(App Extension). I'd think strip should fixed the sdk for apple watch support. What is solution for this?

使用Pod时,需要确保从.xcworkspace文件而不是.xcoderoj文件进行编译。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM