dcloudio / uni-app

A cross-platform framework using Vue.js
https://uniapp.dcloud.io
Apache License 2.0
39.9k stars 3.62k forks source link

Error create Native-Plugin iOS #5037

Open vinhqn opened 2 months ago

vinhqn commented 2 months ago

Hello I have create library, i have add framework third-party is ZaloSDK, i build xcframework success but i run custom playround HbuilderX error

My package.json native-plugin: { "name": "FidoPlugin", "id": "FidoPlugin", "version": "1.0.0", "description": "Zalo SDK", "_dp_type": "nativeplugin", "_dp_nativeplugin": {

    "ios": {
        "plugins": [{
            "type": "module",
            "name": "FidoPlugin-Zalo",
            "class": "ZaloModule"
        }

        ],
        "integrateType": "framework",
        "deploymentTarget": "12.0",
        "validArchitectures": [
            "arm64"
        ],
          "frameworks": [
            "ZaloSDK.xcframework",
            "ZaloSDKCoreKit.xcframework",
            "ZingAnalytics.xcframework"
          ],
          "embedFrameworks": [
            "ZaloSDK.xcframework",
            "ZaloSDKCoreKit.xcframework",
            "ZingAnalytics.xcframework"
          ]

    }
}

}

vinhqn commented 2 months ago

Screenshot 2024-07-15 at 21 27 20 Screenshot 2024-07-15 at 21 27 33 Screenshot 2024-07-15 at 21 27 29