Open
Description
Hi! I am trying to build the brainflow libs using ios-cmake for OS64COMBINED, but I am getting the following error:
/bin/sh -c /Users/scottmiller/git/brainflow/build/brainflow.build/Release-iphoneos/MuseLib.build/Script-538A60576ABA9B7FDB978F8C.sh
Error copying file (if different) from "/Users/scottmiller/git/brainflow/compiled/libMuseLib.dylib" to "/Users/scottmiller/git/brainflow/nodejs_package/brainflow/lib/libMuseLib.dylib".
Command PhaseScriptExecution failed with a nonzero exit code
The dylib is being written to /Users/scottmiller/git/brainflow/compiled/Release/, not /Users/scottmiller/git/brainflow/compiled/.
Steps to reproduce:
mkdir -p ~/git
cd ~/git
rm -rf brainflow ios-cmake
git clone https://github.com/brainflow-dev/brainflow.git
git clone https://github.com/leetal/ios-cmake.git
cd brainflow
mkdir build
cd build
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=~/git/ios-cmake/ios.toolchain.cmake -DPLATFORM="OS64COMBINED"
#to silence warnings about deployment targets:
sed -e "s|IPHONEOS_DEPLOYMENT_TARGET = 11.0|IPHONEOS_DEPLOYMENT_TARGET = 16.0|g" brainflow.xcodeproj/project.pbxproj > temp.txt
cp temp.txt brainflow.xcodeproj/project.pbxproj
cmake --build . --config Release -- CODE_SIGNING_ALLOWED=NO
Thanks!
Metadata
Metadata
Assignees
Labels
No labels