You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not working on Xcode 11.5 when generating a framework.
i have universalLib Target pointing to framework, so I've added the script for the universalLib not the framework target. for more details see the below picture: https://i.imgur.com/AxMXtwn.png
Details :
⏱ Starting the Universal Framework work...
##################################################################
DEVICE_LIBRARY_PATH: /Users/mobilebuildserver/Library/Developer/Xcode/DerivedData/MYFRAMEWORK-fxtduirfbjhujbdypbycbxrddkjy/Build/Products/Debug-iphoneos/MYFRAMEWORK.framework
SIMULATOR_LIBRARY_PATH: /Users/mobilebuildserver/Library/Developer/Xcode/DerivedData/MYFRAMEWORK-fxtduirfbjhujbdypbycbxrddkjy/Build/Products/Debug-iphonesimulator/MYFRAMEWORK.framework
UNIVERSAL_LIBRARY_DIR: /Users/mobilebuildserver/Library/Developer/Xcode/DerivedData/MYFRAMEWORK-fxtduirfbjhujbdypbycbxrddkjy/Build/Products/Debug-Universal
##################################################################
##################################################################
🚀 Step 1-1: Building for iphonesimulator
##################################################################
xcodebuild: error: '' is not a workspace file.
##################################################################
🚀 Step 1-2: Building for iphoneos
xcodebuild: error: '' is not a workspace file.
##################################################################
📦 Step 2: Copy the framework structure for iphoneos
##################################################################
cp: /Users/mobilebuildserver/Library/Developer/Xcode/DerivedData/MYFRAMEWORK-fxtduirfbjhujbdypbycbxrddkjy/Build/Products/Debug-iphoneos/MYFRAMEWORK.framework: No such file or directory
##################################################################
🛠 Step 3: The LIPO Step
##################################################################
fatal error: lipo: can't open input file: /Users/mobilebuildserver/Library/Developer/Xcode/DerivedData/MYFRAMEWORK-fxtduirfbjhujbdypbycbxrddkjy/Build/Products/Debug-iphonesimulator/MYFRAMEWORK.framework/MYFRAMEWORK (No such file or directory)
##################################################################
📦 Step 4: Copy the Swiftmodules
##################################################################
ℹ️ Couldn't any Swift module file for SIMULATOR!
ℹ️ Couldn't any Swift module file for DEVICE!
##################################################################
🚛 Step 5 Copying in the project directory
##################################################################
cp: /Users/mobilebuildserver/Library/Developer/Xcode/DerivedData/MYFRAMEWORK-fxtduirfbjhujbdypbycbxrddkjy/Build/Products/Debug-Universal/MYFRAMEWORK.framework: No such file or directory
##################################################################
##################################################################
##################################################################
🏁 Completed with Success! 🙂
🔍 For more details you can always check the /tmp/MYFRAMEWORK_archive.log file. 📝
##################################################################
The text was updated successfully, but these errors were encountered:
Hi, @AaoIi your project unable to build on the terminal as the error shows.
If your project is unable to build via xcodebuild command for some reason, this script will not help you, and you'll get a build error. First, be sure that your project can build on the terminal and try this project.
Please first build from the terminal and then try again. This is a requirement for this script. This is common after installing the new Xcode version.
Not working on Xcode 11.5 when generating a framework.
i have universalLib Target pointing to framework, so I've added the script for the universalLib not the framework target. for more details see the below picture:
https://i.imgur.com/AxMXtwn.png
Details :
The text was updated successfully, but these errors were encountered: