我正在使用starcore_for_ios运行python脚本。
我在做什么:
flutter clean
export STARCORE_PATH='/Users/brijeshlakkad'
export STARCORE_PYTHONVERSION='3.6'
export STARCORE_PYTHONLIBRARY='star_python36,python3.6m'
flutter build ios --no-codesign
和我遇到此错误:
当我运行flutter build ios --no-codesign
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
ld: warning: directory not found for option
'-L/Users/brijeshlakkad/starcore_for_ios/python.files/python-3.6'
ld: library not found for -lpython3.6m
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
ld: warning: directory not found for option
'-L/Users/brijeshlakkad/starcore_for_ios/python.files/python-3.6'
ld: library not found for -lpython3.6m
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Encountered error while building for device.
2.9s
Python版本:__ strong <3.6.5_1 _ 颤振版本:1.0.0
我做了什么: 1.仅构建活动架构:是 和 2.目标>>构建设置>>链接>>其他链接器标志:$(继承)
您将在下面看到错误