Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcodeproj doesn't know about the following attributes {"buildSettings"=>{}, "buildStyles"=>["D3C789323202438E83F16869", "274F44C0BABC442CAC356061"]} for the 'PBXProject' isa. #6325

Closed
gelldur opened this issue Dec 19, 2016 · 8 comments

Comments

@gelldur
Copy link

commented Dec 19, 2016

Command

/usr/local/bin/pod install

Report

  • What did you do?
    Simply install pods after generated project from cmake.

cmake -DCMAKE_TOOLCHAIN_FILE=/Users/gelldur/Projects/polly/ios-10-1.cmake -DIOS=ON -G Xcode ../../../
Polly generator: https://github.com/ruslo/polly

Stack

   CocoaPods : 1.1.1
        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
    RubyGems : 2.6.8
        Host : Mac OS X 10.12.2 (16C67)
       Xcode : 8.2 (8C38)
         Git : git version 2.10.1 (Apple Git-78)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ bf48bb525a87030344a87063de56b95c06415ca5

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.1.1
cocoapods-try         : 1.1.0

Podfile

platform :ios, '9.0'


target 'MyApp' do
	pod 'MKLayoutLibrary'
	pod 'SDWebImage'
	pod 'REFrostedViewController', '~> 2.4'
	pod 'SLExpandableTableView', '~>1.3'
	pod 'PullToRefreshCoreText', '~> 0.2'
	pod 'BlocksKit', '~>  2.2'
	pod 'Fabric'
	pod 'Crashlytics'
	pod 'FBSDKCoreKit'
	pod 'FBSDKLoginKit'
	pod 'FBSDKShareKit'
	pod 'Bolts'
end
 project 'build/MyApp.xcodeproj'

Error

RuntimeError - [!] Xcodeproj doesn't know about the following attributes {"buildSettings"=>{}, "buildStyles"=>["D3C789323202438E83F16869", "274F44C0BABC442CAC356061"]} for the 'PBXProject' isa.
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.4.1/lib/xcodeproj/project/object.rb:321:in `configure_with_plist'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.4.1/lib/xcodeproj/project.rb:261:in `new_from_plist'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.4.1/lib/xcodeproj/project.rb:202:in `initialize_from_file'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.4.1/lib/xcodeproj/project.rb:102:in `open'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:855:in `block (2 levels) in inspect_targets_to_integrate'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:854:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:854:in `block in inspect_targets_to_integrate'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:849:in `inspect_targets_to_integrate'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:66:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:236:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:150:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:149:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:110:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/command/install.rb:37:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/command.rb:50:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'
@benasher44

This comment has been minimized.

Copy link
Member

commented Dec 21, 2016

Hi @gelldur! Thanks for reporting this! Could you please post a project file that reproduces the issue? Thanks!

@gelldur

This comment has been minimized.

Copy link
Author

commented Dec 21, 2016

Generated from CMakeLists.txt by cmake -DCMAKE_TOOLCHAIN_FILE=../Projects/polly/ios-10-1.cmake -DIOS=ON -G Xcode ..

CMakeLists.txt

CMAKE_MINIMUM_REQUIRED(VERSION 3.4.0)
PROJECT(bugProject)

SET(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)

SET(CMAKE_C_FLAGS_DEBUG "-g -D_DEBUG -O0")
SET(CMAKE_C_FLAGS_RELEASE "-g -DNDEBUG -O3")

SET(CMAKE_CXX_FLAGS_DEBUG "-g -D_DEBUG -O0")
SET(CMAKE_CXX_FLAGS_RELEASE "-g -DNDEBUG -O3")

SET(CMAKE_C_FLAGS "$(inherited) ${CMAKE_C_FLAGS}")

INCLUDE(cmake/GlobalConfigXcode.cmake)

SET(SOURCE_FILES_IOS
		src/main.m
		)

ADD_EXECUTABLE(bugProject ${SOURCE_FILES_IOS} Assets.xcassets)

SET_TARGET_PROPERTIES(bugProject PROPERTIES
		RESOURCE Assets.xcassets
		XCODE_ATTRIBUTE_SKIP_INSTALL "NO"
		XCODE_ATTRIBUTE_INFOPLIST_FILE "$(SRCROOT)/Info.plist"
		XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon"
		XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME "Brand Assets"
		XCODE_ATTRIBUTE_FRAMEWORK_SEARCH_PATHS "$(inherited)"
		XCODE_ATTRIBUTE_HEADER_SEARCH_PATHS "$(inherited)"
		XCODE_ATTRIBUTE_LIBRARY_SEARCH_PATHS "$(inherited)"
		)

TARGET_COMPILE_DEFINITIONS(bugProject PUBLIC "$(inherited)")

TARGET_LINK_LIBRARIES(bugProject "$(inherited) -ObjC")

TARGET_INCLUDE_DIRECTORIES(bugProject PUBLIC
		src/
		)

Generated project: (bugProject.xcodeproj/project.pbxproj)

// !$*UTF8*$!
{
	archiveVersion = 1;
	classes = {
	};
	objectVersion = 46;
	objects = {

/* Begin PBXAggregateTarget section */
		ACEA48AF9711413E81B5E4E6 /* ALL_BUILD */ = {
			isa = PBXAggregateTarget;
			buildConfigurationList = 1DFB7C6E60324DD9A1FD82FD /* Build configuration list for PBXAggregateTarget "ALL_BUILD" */;
			buildPhases = (
				959C4D7B9996466C863DCB41 /* CMake Rules */,
			);
			dependencies = (
				B88F498830984A08AF4D6C65 /* PBXTargetDependency */,
				017DD93CD0314669A7F5A45D /* PBXTargetDependency */,
			);
			name = ALL_BUILD;
			productName = ALL_BUILD;
		};
		D40F67827079454383ECE015 /* ZERO_CHECK */ = {
			isa = PBXAggregateTarget;
			buildConfigurationList = BDAC028651F440ADB7EB894A /* Build configuration list for PBXAggregateTarget "ZERO_CHECK" */;
			buildPhases = (
				B851FDA9BCB34972BDAB2E85 /* CMake Rules */,
			);
			dependencies = (
			);
			name = ZERO_CHECK;
			productName = ZERO_CHECK;
		};
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
		5500F3E571344C4AA199424D /* /Users/gelldur/Projects/bugTest/proj/ios/testgen/CMakeFiles/bugProject.dir/Info.plist */ = {isa = PBXBuildFile; fileRef = D863D4074FE64143B139A18C /* /Users/gelldur/Projects/bugTest/proj/ios/testgen/CMakeFiles/bugProject.dir/Info.plist */; };
		7933711C51F14D76BFE59BB4 /* /Users/gelldur/Projects/bugTest/proj/ios/Assets.xcassets */ = {isa = PBXBuildFile; fileRef = 1AF9B75913BE48BCA566B41D /* /Users/gelldur/Projects/bugTest/proj/ios/Assets.xcassets */; };
		C4A880FB5AFA4DEAB9978AE4 /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */ = {isa = PBXBuildFile; fileRef = E7B4E2CF249B4E18871205FF /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */; };
		E79D6BF98E1A469A8DDDA3CA /* /Users/gelldur/Projects/bugTest/proj/ios/src/main.m */ = {isa = PBXBuildFile; fileRef = A5BABC827FAF4E4189BCB806 /* /Users/gelldur/Projects/bugTest/proj/ios/src/main.m */; };
/* End PBXBuildFile section */

/* Begin PBXBuildStyle section */
		43321150D6564DE190DD2722 /* Release */ = {
			isa = PBXBuildStyle;
			buildSettings = {
				COPY_PHASE_STRIP = NO;
			};
			name = Release;
		};
		ADC0B7608A24482AB6201ABA /* Debug */ = {
			isa = PBXBuildStyle;
			buildSettings = {
				COPY_PHASE_STRIP = NO;
			};
			name = Debug;
		};
		C847171567B64033980192CE = {
			isa = PBXBuildStyle;
		};
/* End PBXBuildStyle section */

/* Begin PBXContainerItemProxy section */
		33803287B340475D97E0A0C6 /* PBXContainerItemProxy */ = {
			isa = PBXContainerItemProxy;
			containerPortal = 1315DC5CD8034DA28F900B83 /* Project object */;
			proxyType = 1;
			remoteGlobalIDString = B7037FED0EAB42B7921C5F7E;
			remoteInfo = bugProject;
		};
		421256CE4124451D92F36A2C /* PBXContainerItemProxy */ = {
			isa = PBXContainerItemProxy;
			containerPortal = 1315DC5CD8034DA28F900B83 /* Project object */;
			proxyType = 1;
			remoteGlobalIDString = D40F67827079454383ECE015;
			remoteInfo = ZERO_CHECK;
		};
		7A143E05BC864E088A6BF40F /* PBXContainerItemProxy */ = {
			isa = PBXContainerItemProxy;
			containerPortal = 1315DC5CD8034DA28F900B83 /* Project object */;
			proxyType = 1;
			remoteGlobalIDString = D40F67827079454383ECE015;
			remoteInfo = ZERO_CHECK;
		};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
		1AF9B75913BE48BCA566B41D /* /Users/gelldur/Projects/bugTest/proj/ios/Assets.xcassets */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Assets.xcassets; sourceTree = SOURCE_ROOT; };
		3D779D64B364404BA77C71F6 /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; name = CMakeLists.txt; path = CMakeLists.txt; sourceTree = SOURCE_ROOT; };
		A5BABC827FAF4E4189BCB806 /* /Users/gelldur/Projects/bugTest/proj/ios/src/main.m */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.objc; fileEncoding = 4; name = main.m; path = src/main.m; sourceTree = SOURCE_ROOT; };
		BDDEFAF3F7CE4B2ABDB63EF7 /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; name = CMakeLists.txt; path = CMakeLists.txt; sourceTree = SOURCE_ROOT; };
		D863D4074FE64143B139A18C /* /Users/gelldur/Projects/bugTest/proj/ios/testgen/CMakeFiles/bugProject.dir/Info.plist */ = {isa = PBXFileReference; explicitFileType = sourcecode.text.plist; fileEncoding = 4; name = Info.plist; path = testgen/CMakeFiles/bugProject.dir/Info.plist; sourceTree = SOURCE_ROOT; };
		E7B4E2CF249B4E18871205FF /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; name = CMakeLists.txt; path = CMakeLists.txt; sourceTree = SOURCE_ROOT; };
		FB1ABFF82F0146BE84322783 /* bugProject */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = bugProject; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXGroup section */
		14BDFC25B1CD4755AA7F91B8 /* bugProject */ = {
			isa = PBXGroup;
			children = (
				4A8B114A52194B95A4D5A901 /* Source Files */,
				55C7C3D793664FA6B7B54F6F /* Resources */,
				1AF9B75913BE48BCA566B41D /* /Users/gelldur/Projects/bugTest/proj/ios/Assets.xcassets */,
				E7B4E2CF249B4E18871205FF /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */,
			);
			name = bugProject;
			sourceTree = "<group>";
		};
		18CCBEC7FC9544E293C9559B /* CMake Rules */ = {
			isa = PBXGroup;
			children = (
			);
			name = "CMake Rules";
			sourceTree = "<group>";
		};
		26D796DDAF3144B9B96E86EC /* ALL_BUILD */ = {
			isa = PBXGroup;
			children = (
				18CCBEC7FC9544E293C9559B /* CMake Rules */,
				BDDEFAF3F7CE4B2ABDB63EF7 /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */,
			);
			name = ALL_BUILD;
			sourceTree = "<group>";
		};
		4A8B114A52194B95A4D5A901 /* Source Files */ = {
			isa = PBXGroup;
			children = (
				A5BABC827FAF4E4189BCB806 /* /Users/gelldur/Projects/bugTest/proj/ios/src/main.m */,
			);
			name = "Source Files";
			sourceTree = "<group>";
		};
		55C7C3D793664FA6B7B54F6F /* Resources */ = {
			isa = PBXGroup;
			children = (
				D863D4074FE64143B139A18C /* /Users/gelldur/Projects/bugTest/proj/ios/testgen/CMakeFiles/bugProject.dir/Info.plist */,
			);
			name = Resources;
			sourceTree = "<group>";
		};
		5AF860A30E9D46688D7F87AD /* Resources */ = {
			isa = PBXGroup;
			children = (
				1AF9B75913BE48BCA566B41D /* /Users/gelldur/Projects/bugTest/proj/ios/Assets.xcassets */,
			);
			name = Resources;
			sourceTree = "<group>";
		};
		977FCBC2836E48E8993CB7C8 /* Sources */ = {
			isa = PBXGroup;
			children = (
				14BDFC25B1CD4755AA7F91B8 /* bugProject */,
				26D796DDAF3144B9B96E86EC /* ALL_BUILD */,
				E409B37C9D9F4AE8B3578606 /* ZERO_CHECK */,
			);
			name = Sources;
			sourceTree = "<group>";
		};
		9E7150B1D0794E37B5D6ED4C /* CMake Rules */ = {
			isa = PBXGroup;
			children = (
			);
			name = "CMake Rules";
			sourceTree = "<group>";
		};
		E02998178CE14B04A15DBB62 = {
			isa = PBXGroup;
			children = (
				977FCBC2836E48E8993CB7C8 /* Sources */,
				5AF860A30E9D46688D7F87AD /* Resources */,
				E78C16DC10A44FC1BE59D67C /* Products */,
			);
			sourceTree = "<group>";
		};
		E409B37C9D9F4AE8B3578606 /* ZERO_CHECK */ = {
			isa = PBXGroup;
			children = (
				9E7150B1D0794E37B5D6ED4C /* CMake Rules */,
				3D779D64B364404BA77C71F6 /* /Users/gelldur/Projects/bugTest/proj/ios/CMakeLists.txt */,
			);
			name = ZERO_CHECK;
			sourceTree = "<group>";
		};
		E78C16DC10A44FC1BE59D67C /* Products */ = {
			isa = PBXGroup;
			children = (
				FB1ABFF82F0146BE84322783 /* bugProject */,
			);
			name = Products;
			sourceTree = "<group>";
		};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
		B7037FED0EAB42B7921C5F7E /* bugProject */ = {
			isa = PBXNativeTarget;
			buildConfigurationList = D0A7305407A24AE79329DF0A /* Build configuration list for PBXNativeTarget "bugProject" */;
			buildPhases = (
				33C80D0BC1A347D9A63C5143 /* Resources */,
				683D548A0B8947A1BAAB26D7 /* Sources */,
			);
			buildRules = (
			);
			dependencies = (
				AC8AA08D2A904549AB18AA2A /* PBXTargetDependency */,
			);
			name = bugProject;
			productName = bugProject;
			productReference = FB1ABFF82F0146BE84322783 /* bugProject */;
			productType = "com.apple.product-type.application";
		};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
		1315DC5CD8034DA28F900B83 /* Project object */ = {
			isa = PBXProject;
			attributes = {
				BuildIndependentTargetsInParallel = YES;
				LastUpgradeCheck = 0820;
			};
			buildConfigurationList = 489B6B3E84B842C482C4C868 /* Build configuration list for PBXProject "bugProject" */;
			buildSettings = {
			};
			buildStyles = (
				ADC0B7608A24482AB6201ABA /* Debug */,
				43321150D6564DE190DD2722 /* Release */,
			);
			compatibilityVersion = "Xcode 3.2";
			hasScannedForEncodings = 0;
			mainGroup = E02998178CE14B04A15DBB62;
			projectDirPath = ../;
			projectRoot = "";
			targets = (
				ACEA48AF9711413E81B5E4E6 /* ALL_BUILD */,
				D40F67827079454383ECE015 /* ZERO_CHECK */,
				B7037FED0EAB42B7921C5F7E /* bugProject */,
			);
		};
/* End PBXProject section */

/* Begin PBXShellScriptBuildPhase section */
		959C4D7B9996466C863DCB41 /* CMake Rules */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			name = "CMake Rules";
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "make -C /Users/gelldur/Projects/bugTest/proj/ios/testgen -f /Users/gelldur/Projects/bugTest/proj/ios/testgen/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.make$CONFIGURATION all";
			showEnvVarsInLog = 0;
		};
		B851FDA9BCB34972BDAB2E85 /* CMake Rules */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			name = "CMake Rules";
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "make -C /Users/gelldur/Projects/bugTest/proj/ios/testgen -f /Users/gelldur/Projects/bugTest/proj/ios/testgen/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.make$CONFIGURATION all";
			showEnvVarsInLog = 0;
		};
		BECD7155CC4942AA841CEAB7 = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			inputPaths = (
			);
			outputPaths = (
			);
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "# shell script goes here
exit 0";
			showEnvVarsInLog = 0;
		};
		FAB3419EE291408881E32D6A = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			inputPaths = (
			);
			outputPaths = (
			);
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "# shell script goes here
exit 0";
			showEnvVarsInLog = 0;
		};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXResourcesBuildPhase section */
		33C80D0BC1A347D9A63C5143 /* Resources */ = {
			isa = PBXResourcesBuildPhase;
			buildActionMask = 2147483647;
			files = (
				7933711C51F14D76BFE59BB4 /* /Users/gelldur/Projects/bugTest/proj/ios/Assets.xcassets */,
			);
			runOnlyForDeploymentPostprocessing = 0;
		};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
		683D548A0B8947A1BAAB26D7 /* Sources */ = {
			isa = PBXSourcesBuildPhase;
			buildActionMask = 2147483647;
			files = (
				E79D6BF98E1A469A8DDDA3CA /* /Users/gelldur/Projects/bugTest/proj/ios/src/main.m */,
			);
			runOnlyForDeploymentPostprocessing = 0;
		};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
		017DD93CD0314669A7F5A45D /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = D40F67827079454383ECE015 /* ZERO_CHECK */;
			targetProxy = 421256CE4124451D92F36A2C /* PBXContainerItemProxy */;
		};
		AC8AA08D2A904549AB18AA2A /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = D40F67827079454383ECE015 /* ZERO_CHECK */;
			targetProxy = 7A143E05BC864E088A6BF40F /* PBXContainerItemProxy */;
		};
		B88F498830984A08AF4D6C65 /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = B7037FED0EAB42B7921C5F7E /* bugProject */;
			targetProxy = 33803287B340475D97E0A0C6 /* PBXContainerItemProxy */;
		};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
		26D4DDAFD9B04A1AB378A81F /* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				"ARCHS[sdk=iphoneos*]" = " armv7 armv7s arm64";
				"ARCHS[sdk=iphonesimulator*]" = " i386 x86_64";
				CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
				CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
				CLANG_CXX_LIBRARY = "libc++";
				CLANG_ENABLE_OBJC_ARC = YES;
				CODE_SIGN_IDENTITY = "iPhone Developer";
				DEVELOPMENT_TEAM = JZFRPXMB4A;
				ENABLE_BITCODE = NO;
				GCC_C_LANGUAGE_STANDARD = c11;
				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
				ONLY_ACTIVE_ARCH = NO;
				PRODUCT_NAME = bugProject;
				SDKROOT = iphoneos;
				SKIP_INSTALL = YES;
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen/build;
				TARGETED_DEVICE_FAMILY = "1,2";
				"VALID_ARCHS[sdk=iphoneos*]" = " armv7 armv7s arm64";
				"VALID_ARCHS[sdk=iphonesimulator*]" = " i386 x86_64";
			};
			name = Release;
		};
		5D00EAA370FB434C9619D1A1 /* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
				COMBINE_HIDPI_IMAGES = YES;
				EXECUTABLE_PREFIX = "";
				EXECUTABLE_SUFFIX = "";
				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
				GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
				GCC_OPTIMIZATION_LEVEL = 3;
				GCC_PREPROCESSOR_DEFINITIONS = ("'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'","'$(inherited)'");
				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
				HEADER_SEARCH_PATHS = "$(inherited)";
				INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
				INSTALL_PATH = "";
				LIBRARY_SEARCH_PATHS = "$(inherited) ";
				OTHER_CFLAGS = "$(inherited)     -DNDEBUG     -I/Users/gelldur/Projects/bugTest/proj/ios/src   ";
				OTHER_LDFLAGS = " -Wl,-search_paths_first -Wl,-headerpad_max_install_names  $(inherited) -ObjC";
				OTHER_REZFLAGS = "";
				PRODUCT_NAME = bugProject;
				SECTORDER_FLAGS = "";
				SKIP_INSTALL = NO;
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen;
				USE_HEADERMAP = NO;
				WARNING_CFLAGS = ("-Wmost","-Wno-four-char-constants","-Wno-unknown-pragmas","$(inherited)");
			};
			name = Release;
		};
		7FC5CF3CF5DD4A98B572A323 /* Debug */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				COMBINE_HIDPI_IMAGES = YES;
				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
				GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_PREPROCESSOR_DEFINITIONS = ("'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'");
				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
				INSTALL_PATH = "";
				OTHER_LDFLAGS = " ";
				OTHER_REZFLAGS = "";
				PRODUCT_NAME = ZERO_CHECK;
				SECTORDER_FLAGS = "";
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen;
				USE_HEADERMAP = NO;
				WARNING_CFLAGS = ("-Wmost","-Wno-four-char-constants","-Wno-unknown-pragmas","$(inherited)");
			};
			name = Debug;
		};
		C973A73A18664EB9B3007A8F /* Debug */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				COMBINE_HIDPI_IMAGES = YES;
				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
				GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_PREPROCESSOR_DEFINITIONS = ("'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'");
				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
				INSTALL_PATH = "";
				OTHER_LDFLAGS = " ";
				OTHER_REZFLAGS = "";
				PRODUCT_NAME = ALL_BUILD;
				SECTORDER_FLAGS = "";
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen;
				USE_HEADERMAP = NO;
				WARNING_CFLAGS = ("-Wmost","-Wno-four-char-constants","-Wno-unknown-pragmas","$(inherited)");
			};
			name = Debug;
		};
		DB550C9564224E9CBD67E547 /* Debug */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				"ARCHS[sdk=iphoneos*]" = " armv7 armv7s arm64";
				"ARCHS[sdk=iphonesimulator*]" = " i386 x86_64";
				CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
				CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
				CLANG_CXX_LIBRARY = "libc++";
				CLANG_ENABLE_OBJC_ARC = YES;
				CODE_SIGN_IDENTITY = "iPhone Developer";
				DEVELOPMENT_TEAM = JZFRPXMB4A;
				ENABLE_BITCODE = NO;
				GCC_C_LANGUAGE_STANDARD = c11;
				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
				ONLY_ACTIVE_ARCH = YES;
				PRODUCT_NAME = bugProject;
				SDKROOT = iphoneos;
				SKIP_INSTALL = YES;
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen/build;
				TARGETED_DEVICE_FAMILY = "1,2";
				"VALID_ARCHS[sdk=iphoneos*]" = " armv7 armv7s arm64";
				"VALID_ARCHS[sdk=iphonesimulator*]" = " i386 x86_64";
			};
			name = Debug;
		};
		DE2158303B154E658BDD38C9 /* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				COMBINE_HIDPI_IMAGES = YES;
				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
				GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_PREPROCESSOR_DEFINITIONS = ("'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'");
				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
				INSTALL_PATH = "";
				OTHER_LDFLAGS = " ";
				OTHER_REZFLAGS = "";
				PRODUCT_NAME = ZERO_CHECK;
				SECTORDER_FLAGS = "";
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen;
				USE_HEADERMAP = NO;
				WARNING_CFLAGS = ("-Wmost","-Wno-four-char-constants","-Wno-unknown-pragmas","$(inherited)");
			};
			name = Release;
		};
		EAE001B0AE504FC3A4A0FACA /* Debug */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
				COMBINE_HIDPI_IMAGES = YES;
				EXECUTABLE_PREFIX = "";
				EXECUTABLE_SUFFIX = "";
				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
				GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_PREPROCESSOR_DEFINITIONS = ("'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'","'$(inherited)'");
				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
				HEADER_SEARCH_PATHS = "$(inherited)";
				INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
				INSTALL_PATH = "";
				LIBRARY_SEARCH_PATHS = "$(inherited) ";
				OTHER_CFLAGS = "$(inherited)     -D_DEBUG     -I/Users/gelldur/Projects/bugTest/proj/ios/src   ";
				OTHER_LDFLAGS = " -Wl,-search_paths_first -Wl,-headerpad_max_install_names  $(inherited) -ObjC";
				OTHER_REZFLAGS = "";
				PRODUCT_NAME = bugProject;
				SECTORDER_FLAGS = "";
				SKIP_INSTALL = NO;
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen;
				USE_HEADERMAP = NO;
				WARNING_CFLAGS = ("-Wmost","-Wno-four-char-constants","-Wno-unknown-pragmas","$(inherited)");
			};
			name = Debug;
		};
		ECF13BB08F2C43339FAA3FFE /* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				COMBINE_HIDPI_IMAGES = YES;
				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
				GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
				GCC_OPTIMIZATION_LEVEL = 0;
				GCC_PREPROCESSOR_DEFINITIONS = ("'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'");
				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
				INSTALL_PATH = "";
				OTHER_LDFLAGS = " ";
				OTHER_REZFLAGS = "";
				PRODUCT_NAME = ALL_BUILD;
				SECTORDER_FLAGS = "";
				SYMROOT = /Users/gelldur/Projects/bugTest/proj/ios/testgen;
				USE_HEADERMAP = NO;
				WARNING_CFLAGS = ("-Wmost","-Wno-four-char-constants","-Wno-unknown-pragmas","$(inherited)");
			};
			name = Release;
		};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
		1DFB7C6E60324DD9A1FD82FD /* Build configuration list for PBXAggregateTarget "ALL_BUILD" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				C973A73A18664EB9B3007A8F /* Debug */,
				ECF13BB08F2C43339FAA3FFE /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Debug;
		};
		489B6B3E84B842C482C4C868 /* Build configuration list for PBXProject "bugProject" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				DB550C9564224E9CBD67E547 /* Debug */,
				26D4DDAFD9B04A1AB378A81F /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Debug;
		};
		BDAC028651F440ADB7EB894A /* Build configuration list for PBXAggregateTarget "ZERO_CHECK" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				7FC5CF3CF5DD4A98B572A323 /* Debug */,
				DE2158303B154E658BDD38C9 /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Debug;
		};
		D0A7305407A24AE79329DF0A /* Build configuration list for PBXNativeTarget "bugProject" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				EAE001B0AE504FC3A4A0FACA /* Debug */,
				5D00EAA370FB434C9619D1A1 /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Debug;
		};
/* End XCConfigurationList section */
	};
	rootObject = 1315DC5CD8034DA28F900B83 /* Project object */;
}

@gelldur

This comment has been minimized.

Copy link
Author

commented Dec 21, 2016

If i remove those lines:

			buildSettings = {
			};
			buildStyles = (
				ADC0B7608A24482AB6201ABA /* Debug */,
				43321150D6564DE190DD2722 /* Release */,
			);

pod install will work :)
but it is annoying :(

@benasher44

This comment has been minimized.

Copy link
Member

commented Jan 6, 2017

After further research, these appear to be legacy settings generated by cmake. I recommend filing a bug here: https://gitlab.kitware.com/cmake/cmake/issues, so that these settings are no longer generated. Thanks, and have a great day!

@benasher44 benasher44 closed this Jan 6, 2017

@benasher44

This comment has been minimized.

Copy link
Member

commented Jan 6, 2017

More info here: facebook/xcbuild#24

@benasher44

This comment has been minimized.

Copy link
Member

commented Jan 6, 2017

That said, I think it'd be okay to patch Xcodeproj to allow these. It'd be great if someone could open an issue on Xcodeproj, or better yet open a PR to fix :)

@xingheng

This comment has been minimized.

Copy link

commented Dec 13, 2017

So, does someone know whether it has been fixed in latest cmake 3.10.0 or not? or any solutions?

@johnb003

This comment has been minimized.

Copy link

commented Feb 13, 2018

It does not appear to be fixed in cmake 3.10.1.

I built a script to strip these:
https://gist.github.com/johnb003/59842c752cbbbdcde00e2ca8ca33d4cb

But, for the record, it's still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.