jverkoey / iOS-Framework

How to create, develop, and distribute iOS Static Frameworks quickly and efficiently
2.61k stars 281 forks source link

Xcode 5.1.1 - framework will not build (worked fine in Xcode 5.02) #90

Open markmanes opened 10 years ago

markmanes commented 10 years ago

I have been happily been using the instructions and related scripts here for well over a year.. awesome work!

However I upgraded to Xcode 5.1.1 (the issue may have existed in 5.1 but didn't look at the project in a while) -- but now when I try to build I get:

2014-04-16 10:36:46.123 xcodebuild[10874:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs Build settings from command line: BUILD_DIR = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Products BUILD_ROOT = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Products OBJROOT = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Intermediates SDKROOT = iphonesimulator7.1 SYMROOT = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Products

2014-04-16 10:36:46.387 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/11A9FF3A-4585-4F0D-843F-2D053E3E2288.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.388 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/D9BEE145-61C8-4076-BDBD-B67B2C95FA79.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.388 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/B755968F-AAD8-41BB-BD40-33E16F3B0A52.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.388 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/AA6927C2-18E2-4B1C-B4CD-065DBE6A2F83.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.388 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/884FF71B-87B8-42A4-B3B3-9CE4D926F0A0.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.388 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/A02F1AE0-1C99-4CE5-85DD-9E7903C11B76.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.389 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/9B4C5194-D9C5-404A-83E0-1077AF18AF29.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.389 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/6A627D78-ACF8-4390-B8DC-6EAFAA7AB9D5.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.389 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/1440C9AB-5919-40AB-A3CA-6D1729D97615.xcactivitylog") is missing. Skipping. 2014-04-16 10:36:46.389 xcodebuild[10874:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/B972F870-2073-40F6-BA2E-001BBBD53067.xcactivitylog") is missing. Skipping. === BUILD TARGET LiveChartsResources OF PROJECT LiveCharts WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET LiveCharts OF PROJECT LiveCharts WITH CONFIGURATION Debug ===

Check dependencies No architectures to compile for (ARCHS=i386 x86_64, VALID_ARCHS=arm64 armv7 armv7s).

\ BUILD FAILED **

Anyone else having this issue?

darthpelo commented 10 years ago

Check in Framework Build Settings: Build Active Architecture Only = NO Valide Architectures = arm64 arm7 arm7s

With Xcode 5.1.1 all projects are configured to support arm64 and the first time this can create some problems :-)

I hope this help you!

markmanes commented 10 years ago

Sadly this has not made any difference. It seems to be a problem with the script. Are you using Xcode 5.1.1 with your project?

Here is the output: Build settings from command line: BUILD_DIR = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Products BUILD_ROOT = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Products OBJROOT = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Intermediates SDKROOT = iphonesimulator7.1 SYMROOT = /Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Build/Products

2014-04-21 15:11:27.852 xcodebuild[36107:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/22E2302B-E1AC-42A6-989B-D4ECB2AE720A.xcactivitylog") is missing. Skipping. 2014-04-21 15:11:27.852 xcodebuild[36107:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/2D0B96A5-8EB9-4F7A-AD9A-DDC3D135617F.xcactivitylog") is missing. Skipping. 2014-04-21 15:11:27.852 xcodebuild[36107:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/9F69DA80-48A4-4731-8BCF-98F5DDB1F619.xcactivitylog") is missing. Skipping. 2014-04-21 15:11:27.853 xcodebuild[36107:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/37862D24-BACC-420B-9A62-07A134626784.xcactivitylog") is missing. Skipping. 2014-04-21 15:11:27.853 xcodebuild[36107:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/C43C3090-C0DB-4EAC-97DF-1D6F59A49220.xcactivitylog") is missing. Skipping. 2014-04-21 15:11:27.853 xcodebuild[36107:1007] [MT] IDELogStore: Log record's backing file ("/Users/markmanes/Library/Developer/Xcode/DerivedData/LiveCharts-gwahuwgsrjurvrfncczvfcwsndug/Logs/Build/AEDD82D7-598B-4263-A1F2-54EAAEB6836E.xcactivitylog") is missing. Skipping. === BUILD TARGET LiveChartsResources OF PROJECT LiveCharts WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET LiveCharts OF PROJECT LiveCharts WITH CONFIGURATION Debug ===

Check dependencies No architectures to compile for (ARCHS=i386 x86_64, VALID_ARCHS=arm64 armv7 armv7s).

\ BUILD FAILED **

The following build commands failed: Check dependencies (1 failure) Command /bin/sh failed with exit code 65

markmanes commented 10 years ago

I am surprised no one else is having this problem.

Has anyone succeeded in getting this to work with Xcode 5.1.1?

yo-ni commented 10 years ago

I've got this to work in 5.1.1 but I've followed and created all the project from a 5.1.1 Xcode. Maybe you should try to do the same