ソースを参照

Resolve "failed: Check dependencies" by "TARGETED_DEVICE_FAMILY = 4;"

Without "TARGETED_DEVICE_FAMILY = 4;",
`carthage build --no-skip-current` generate following error:

```sh
*** xcodebuild output can be found in /path/to/log/build.log
*** Building scheme "Base32-Mac" in Base32.xcodeproj
*** Building scheme "Base32-iOS" in Base32.xcodeproj
*** Building scheme "Base32-watchOS" in Base32.xcodeproj
** BUILD FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
A shell task failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	Check dependencies
(1 failure)

```
Norio Nomura 10 年 前
コミット
fd861c6fd3
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Base32.xcodeproj/project.pbxproj

+ 2 - 0
Base32.xcodeproj/project.pbxproj

@@ -820,6 +820,7 @@
 				DYLIB_CURRENT_VERSION = 1;
 				INFOPLIST_FILE = Base32/Info.plist;
 				PRODUCT_BUNDLE_IDENTIFIER = "io.github.norio-nomura.$(PRODUCT_NAME:rfc1034identifier)";
+				TARGETED_DEVICE_FAMILY = 4;
 				WATCHOS_DEPLOYMENT_TARGET = 2.0;
 			};
 			name = Debug;
@@ -833,6 +834,7 @@
 				DYLIB_CURRENT_VERSION = 1;
 				INFOPLIST_FILE = Base32/Info.plist;
 				PRODUCT_BUNDLE_IDENTIFIER = "io.github.norio-nomura.$(PRODUCT_NAME:rfc1034identifier)";
+				TARGETED_DEVICE_FAMILY = 4;
 				WATCHOS_DEPLOYMENT_TARGET = 2.0;
 			};
 			name = Release;