diff --git a/ios12/SoupChef/OrderSoupIntentStaticLib/Makefile b/ios12/SoupChef/OrderSoupIntentStaticLib/Makefile index 759983de1..5e324c1a3 100644 --- a/ios12/SoupChef/OrderSoupIntentStaticLib/Makefile +++ b/ios12/SoupChef/OrderSoupIntentStaticLib/Makefile @@ -5,15 +5,15 @@ TARGET=OrderSoupIntentStaticLib all: bind -lib$(TARGET)-i386.a: +lib$(TARGET)-simulator.a: $(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphonesimulator -configuration Release clean build -mv $(PROJECT_ROOT)/build/Release-iphonesimulator/lib$(TARGET).a $@ -lib$(TARGET)-arm64.a: +lib$(TARGET)-device.a: $(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch arm64 -configuration Release clean build -mv $(PROJECT_ROOT)/build/Release-iphoneos/lib$(TARGET).a $@ -lib$(TARGET).a: lib$(TARGET)-i386.a lib$(TARGET)-arm64.a +lib$(TARGET).a: lib$(TARGET)-simulator.a lib$(TARGET)-device.a xcrun -sdk iphoneos lipo -create -output $@ $^ bind: lib$(TARGET).a diff --git a/ios12/SoupChef/OrderSoupIntentStaticLib/OrderSoupIntentStaticLib.xcodeproj/project.pbxproj b/ios12/SoupChef/OrderSoupIntentStaticLib/OrderSoupIntentStaticLib.xcodeproj/project.pbxproj index 1b98627b9..06359ca45 100644 --- a/ios12/SoupChef/OrderSoupIntentStaticLib/OrderSoupIntentStaticLib.xcodeproj/project.pbxproj +++ b/ios12/SoupChef/OrderSoupIntentStaticLib/OrderSoupIntentStaticLib.xcodeproj/project.pbxproj @@ -258,6 +258,7 @@ 730228B6210A498000D68C70 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = x86_64; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 9VWFS9Q2KQ; OTHER_LDFLAGS = "-ObjC"; @@ -270,6 +271,7 @@ 730228B7210A498000D68C70 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = x86_64; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 9VWFS9Q2KQ; OTHER_LDFLAGS = "-ObjC";