dotpay / Mobile-SDK-iOS

Mobile SDK iOS
Academic Free License v3.0
0 stars 1 forks source link

Enabling Bridging from CocoaPods #16

Open mmynarski opened 4 years ago

mmynarski commented 4 years ago

DotPaySDK can't bridged to swift using bridging-header because headers "DotPay.h" nor <DotPaySDK/DotPay.> are not visible by compiler.

#import "DotPay.h"
        ^
1 error generated.
<unknown>:0: error: failed to emit precompiled header '/Users/.../Bridging-Header.h'

Probably it should be fixed by reorganizing structure within a Pod.

mmynarski commented 4 years ago

temp solution:

add

"${PODS_ROOT}/DotPaySDK/dotpay_mobile_sdk_ios_1.4.23/lib/DotPaySDK.framework/Headers" 

to Header Search Paths to app target.