AppsFlyerSDK / appsflyer-capacitor-plugin

AppsFlyer SDK plugin for Capacitor
MIT License
15 stars 26 forks source link

Cannot install ios #3

Closed bdhwan closed 3 years ago

bdhwan commented 3 years ago

bdhwan@bdhwan-super-macbook-pro fumi-user-capacitor % ionic cap sync ios --no-build

capacitor sync ios

[capacitor] ✔ Copying web assets from www to ios/App/App/public in 1.27s

[capacitor] ✔ Creating capacitor.config.json in ios/App/App in 865.95μp

[capacitor] [info] Found 3 Cordova plugins for ios:

[capacitor] cordova-plugin-ionic@5.4.7

[capacitor] ionic-plugin-deeplinks@1.0.22

[capacitor] onesignal-cordova-plugin@2.11.4

[capacitor] ✔ copy ios in 1.40s

[capacitor] ✔ Updating iOS plugins in 22.24ms

[capacitor] [info] Found 12 Capacitor plugins for ios:

[capacitor] @capacitor-community/apple-sign-in@0.1.2

[capacitor] @capacitor-community/firebase-analytics@1.0.0

[capacitor] @capacitor/app@1.0.2

[capacitor] @capacitor/haptics@1.0.2

[capacitor] @capacitor/keyboard@1.0.2

[capacitor] @capacitor/splash-screen@1.1.1

[capacitor] @capacitor/status-bar@1.0.2

[capacitor] @robingenz/capacitor-app-update@1.0.0

[capacitor] appsflyer-capacitor-plugin@6.3.5

[capacitor] capacitor-iamport-fumi@0.0.3

[capacitor] capacitor-plugin-app-tracking-transparency@2.0.0

[capacitor] capacitor3-kakao-login@0.0.4

[capacitor] [info] Found 3 Cordova plugins for ios:

[capacitor] cordova-plugin-ionic@5.4.7

[capacitor] ionic-plugin-deeplinks@1.0.22

[capacitor] onesignal-cordova-plugin@2.11.4

[capacitor] ✖ Updating iOS native dependencies with pod install - failed!

[capacitor] ✖ update ios - failed!

[capacitor] [error] Analyzing dependencies

[capacitor] AppsflyerCapacitorPlugin: Using default AppsFlyerFramework.You may require App Tracking Transparency. Not allowed for Kids apps.

[capacitor] AppsflyerCapacitorPlugin: You may set variable $AppsFlyerStrictMode=true in Podfile to use strict mode for kids apps.

[capacitor] Downloading dependencies

[capacitor] Installing AppsFlyerFramework (6.3.5)

[capacitor] Installing AppsflyerCapacitorPlugin 6.3.5

[capacitor] [!] The 'Pods-App' target has transitive dependencies that include statically linked binaries: (/Users/bdhwan/git/fumi-repo/packages/fumi-user-capacitor/ios/App/Pods/AppsFlyerFramework/AppsFlyerLib.xcframework)

[capacitor]

[ERROR] An error occurred while running subprocess capacitor.

    capacitor sync ios exited with exit code 1.

    Re-running this command with the --verbose flag may provide more

    information.
bdhwan commented 3 years ago

solved by adding s.static_framework = true
in AppsflyerCapacitorPlugin.podspec