BoltsFramework / Bolts-ObjC

Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
Other
5.64k stars 576 forks source link

Script build_framework.sh fails #337

Closed patrickniepel closed 4 years ago

patrickniepel commented 4 years ago

Output:

Building Framework.
Compiling for platform: iphonesimulator.
Build settings from command line:
    CURRENT_PROJECT_VERSION = 0.1.20200420
    SDKROOT = iphonesimulator13.0
    SYMROOT = /Users/***/desktop/Bolts-ObjC-master/build

note: Using new build system
note: Planning build
note: Constructing build description
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Shared/Project/Debug.xcconfig: unable to open file (in project "Bolts") (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Bolts-iOS.xcconfig:10: could not find included file 'Shared/Platform/iOS.xcconfig' in search paths (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Bolts-iOS.xcconfig:11: could not find included file 'Shared/Product/StaticFramework.xcconfig' in search paths (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Shared/Project/Debug.xcconfig: unable to open file (in project "Bolts") (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Bolts-iOS.xcconfig:10: could not find included file 'Shared/Platform/iOS.xcconfig' in search paths (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Bolts-iOS.xcconfig:11: could not find included file 'Shared/Product/StaticFramework.xcconfig' in search paths (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Shared/Project/Debug.xcconfig: unable to open file (in project "Bolts") (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Bolts-iOS.xcconfig:10: could not find included file 'Shared/Platform/iOS.xcconfig' in search paths (in target 'Bolts-iOS' from project 'Bolts')
error: /Users/***/Desktop/Bolts-ObjC-master/Configurations/Bolts-iOS.xcconfig:11: could not find included file 'Shared/Product/StaticFramework.xcconfig' in search paths (in target 'Bolts-iOS' from project 'Bolts')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'Bolts-iOS' from project 'Bolts')

** BUILD FAILED **

FATAL: Xcode build failed for platform: iphonesimulator.

Is there another way to build the framework or are there any pre-builds available (SPM, Carthage, Binary)?

richardjrossiii commented 4 years ago

You did not fetch the submodules that contain the shared configurations. You should run git submodule update --init --recursive to download the submodules.