Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions Real Framework/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,19 @@ do

if [ ! -d "${GLOBAL_DEVELOPER_PATH}/${IOS_SPECIFICATIONS_PATH}" ] || [ ! -d "${GLOBAL_DEVELOPER_PATH}/${SIM_SPECIFICATIONS_PATH}" ]
then
echo "Could not find Xcode files in \"$GLOBAL_DEVELOPER_PATH\". Please make sure you typed it correctly."
echo "You should see the path \"$IOS_SPECIFICATIONS_PATH\" inside of it."
echo "Could not find Xcode files in \"$GLOBAL_DEVELOPER_PATH\". Do you want to install it?"

read -p "continue [y/N]: " answer
echo
GLOBAL_DEVELOPER_PATH=
if [ "$answer" != "Y" ] && [ "$answer" != "y" ]; then
echo
echo "[ Cancelled ]"
echo
exit 1
fi

sudo cp -r xcode6Data/SpecificationsiOS "${GLOBAL_DEVELOPER_PATH}/${IOS_SPECIFICATIONS_PATH}"
sudo cp -r xcode6Data/SpecificationsSimulator "${GLOBAL_DEVELOPER_PATH}/${SIM_SPECIFICATIONS_PATH}"
fi
done

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
Core Build System Properties for the iPhone OS platform

Copyright (c) 1999-2012 Apple Inc.
All rights reserved.

Augments the list of build settings for the core build system with settings specific to the iPhone OS build environment.
*/
{
Type = BuildSystem;
Identifier = com.apple.build-system.core;
BasedOn = "com.apple.buildsettings.standard";
Name = "Core Build System";
IsGlobalDomainInUI = Yes;
DeletedProperties = ( PROVISIONING_PROFILE, CODE_SIGN_ENTITLEMENTS );
Properties = (

// Deployment
{ Name = PROJECT_IPHONEOS_DEPLOYMENT_TARGET;
Type = Enumeration;
Values = ( "4.3", "5.0", "5.1", "6.0" ); // stop hardcoding this with rdar://7444608
ConditionFlavors = ( arch, sdk );
// Default value is set dynamically
Category = Deployment;
},

);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//
// Build System properties for the iOS Simulator platform
// English localization
//
// Copyright (c) 2010-2012 Apple, Inc. All rights reserved.
//

"Name" = "Standard Build Settings";
"Description" = "General";


// Deployment Settings

"[Deployment]-category" = "Deployment";

"[IPHONEOS_DEPLOYMENT_TARGET]-name" = "iOS Deployment Target";
"[IPHONEOS_DEPLOYMENT_TARGET]-description" = "Code will load on this and later versions of iOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs. [IPHONEOS_DEPLOYMENT_TARGET]

iOS 4.3 - Code will not load on systems earlier than 4.3. [4.3]
iOS 5.0 - Code will not load on systems earlier than 5.0. [5.0]
iOS 5.1 - Code will not load on systems earlier than 5.1. [5.1]
iOS 6.0 - Code will not load on systems earlier than 6.0. [6.0]

";
// fix hardcode with rdar://7444608
//__SUPPORTED_IPHONEOS_DEPLOYMENT_TARGET_DESCRIPTIONS__
//";


// __SUPPORTED_IPHONEOS_DEPLOYMENT_TARGETS__
// fix hardcode with rdar://7444608
// Supported IPHONEOS_DEPLOYMENT_TARGETs
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[4.3]" = "iOS 4.3";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[4.3]" = "Code will not load on systems earlier than 4.3. [4.3]";
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[5.0]" = "iOS 5.0";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[5.0]" = "Code will not load on systems earlier than 5.0. [5.0]";
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[5.1]" = "iOS 5.1";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[5.1]" = "Code will not load on systems earlier than 5.1. [5.1]";
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[6.0]" = "iOS 6.0";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[6.0]" = "Code will not load on systems earlier than 6.0. [6.0]";
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
//
// Native Build System properties for the iPhone Simulator platform
// English localization
//
// Copyright (c) 2010-2012 Apple, Inc. All rights reserved.
//

"Name" = "Standard Build Settings";
"Description" = "General";


// Deployment Settings

"[Deployment]-category" = "Deployment";

"[IPHONEOS_DEPLOYMENT_TARGET]-name" = "iOS Deployment Target";
"[IPHONEOS_DEPLOYMENT_TARGET]-description" = "Code will load on this and later versions of iOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs. [IPHONEOS_DEPLOYMENT_TARGET]

iOS 4.3 - Code will not load on systems earlier than 4.3. [4.3]
iOS 5.0 - Code will not load on systems earlier than 5.0. [5.0]
iOS 5.1 - Code will not load on systems earlier than 5.1. [5.1]
iOS 6.0 - Code will not load on systems earlier than 6.0. [6.0]

";
// fix with radar://7444608
//__SUPPORTED_IPHONEOS_DEPLOYMENT_TARGET_DESCRIPTIONS__


// fix with radar://7444608
// __SUPPORTED_IPHONEOS_DEPLOYMENT_TARGETS__
// Supported IPHONEOS_DEPLOYMENT_TARGETs
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[4.3]" = "iOS 4.3";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[4.3]" = "Code will not load on systems earlier than 4.3. [4.3]";
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[5.0]" = "iOS 5.0";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[5.0]" = "Code will not load on systems earlier than 5.0. [5.0]";
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[5.1]" = "iOS 5.1";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[5.1]" = "Code will not load on systems earlier than 5.1. [5.1]";
"[IPHONEOS_DEPLOYMENT_TARGET]-value-[6.0]" = "iOS 6.0";
"[IPHONEOS_DEPLOYMENT_TARGET]-description-[6.0]" = "Code will not load on systems earlier than 6.0. [6.0]";


// Build Setting for TARGETED_DEVICE_FAMILY, used to setup the Info.plist's DeviceFamily
"[TARGETED_DEVICE_FAMILY]-name" = "Targeted Device Family";
"[TARGETED_DEVICE_FAMILY]-description" = "Used to tell the build system which Device Family the target is building for. [TARGETED_DEVICE_FAMILY]

iPhone - Application is built for iPhone products.
iPad - Application is built for iPad products.
iPhone/iPad - Application is built for both the iPhone and iPad products.

";
"[TARGETED_DEVICE_FAMILY]-value-[1]" = "iPhone";
"[TARGETED_DEVICE_FAMILY]-description-[1]" = "The built Application is targeted for the iPhone device family.";
"[TARGETED_DEVICE_FAMILY]-value-[2]" = "iPad";
"[TARGETED_DEVICE_FAMILY]-description-[2]" = "The built Application is targeted for the iPad device family.";
"[TARGETED_DEVICE_FAMILY]-value-[1,2]" = "iPhone/iPad";
"[TARGETED_DEVICE_FAMILY]-description-[1,2]" = "The built Application is targeted for both the iPhone and iPad device families.";


// Build Setting for CopyPNGFile tool
"[Packaging]-category" = "Packaging";
"[COMPRESS_PNG_FILES]-name" = "Compress PNG Files";
"[COMPRESS_PNG_FILES]-description" = "Image files with '.png' extension are compressed as they are copied. [COMPRESS_PNG_FILES]";
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
/*
Native Build System properties for the iPhone Simulator platform

Copyright (c) 2008-2012 Apple Inc. All rights reserved.

Augments the list of build settings for the native build system with settings specific to the iPhone Simulator build environment.
*/
(
{
Type = BuildSystem;
Identifier = com.apple.build-system.native;
BasedOn = "default:com.apple.build-system.native";
Name = "Native Build System";
DeletedProperties = ( PROVISIONING_PROFILE, CODE_SIGN_ENTITLEMENTS );
Properties = (

// Deployment
{ Name = IPHONEOS_DEPLOYMENT_TARGET;
Type = Enumeration;
Values = ( "4.3", "5.0", "5.1", "6.0" ); // stop hardcoding this with rdar://7444608
ConditionFlavors = ( arch, sdk );
// Default value is set dynamically
Category = Deployment;
},

// Packaging
{ Name = COMPRESS_PNG_FILES;
Type = Boolean;
Category = Packaging;
DefaultValue = YES;
},

{ Name = TARGETED_DEVICE_FAMILY;
Type = Enumeration;
Values = ( "1", "2", "1,2" );
Category = Deployment;
DefaultValue = "$(TARGETED_DEVICE_FAMILY)";
Basic = YES;
},
);
},
{
Type = Compiler;
Identifier = "com.apple.compilers.llvmgcc42";
BasedOn = "default:com.apple.compilers.llvmgcc42";
Options = (
{
Name = "GCC_ENABLE_EXCEPTIONS";
Type = Boolean;
DefaultValue = YES;
CommandLineFlag = "-fexceptions";
},
{
Name = "LD_NO_IMPLICIT_DYLIBS";
Type = Boolean;
DefaultValue = YES;
AdditionalLinkerArgs = ( "-Xlinker", "-no_implicit_dylibs" );
},
{
Name = IPHONEOS_DEPLOYMENT_TARGET;
CommandLineArgs = {
"4.3" = ( "-D__IPHONE_OS_VERSION_MIN_REQUIRED=40300" );
"5.0" = ( "-D__IPHONE_OS_VERSION_MIN_REQUIRED=50000" );
"5.1" = ( "-D__IPHONE_OS_VERSION_MIN_REQUIRED=50100" );
"6.0" = ( "-D__IPHONE_OS_VERSION_MIN_REQUIRED=60000" );
"<<otherwise>>" = ( "-D__IPHONE_OS_VERSION_MIN_REQUIRED=$(PLATFORM_VERSION_AVAILABILITY_H_FORMAT)" );
};
},
);
},
{
Type = Compiler;
Identifier = "com.apple.compilers.llvm.clang.1_0.compiler";
BasedOn = "default:com.apple.compilers.llvm.clang.1_0.compiler";
DeletedProperties = ( GCC_MACOSX_VERSION_MIN );
Options = (
{
Name = "GCC_ENABLE_EXCEPTIONS";
Type = Boolean;
DefaultValue = YES;
CommandLineFlag = "-fexceptions";
},
{
Name = "LD_NO_IMPLICIT_DYLIBS";
Type = Boolean;
DefaultValue = YES;
AdditionalLinkerArgs = ( "-Xlinker", "-no_implicit_dylibs" );
},
{ Name = GCC_IPHONEOS_VERSION_MIN;
Type = String;
DefaultValue = "$(IPHONEOS_DEPLOYMENT_TARGET)";
CommandLinePrefixFlag = "-mios-simulator-version-min=";
},
);
},
{
Type = Compiler;
Identifier = "com.apple.compilers.llvm.clang.1_0.analyzer";
BasedOn = "default:com.apple.compilers.llvm.clang.1_0.analyzer";
DeletedProperties = ( GCC_MACOSX_VERSION_MIN );
Options = (
{
Name = "GCC_ENABLE_EXCEPTIONS";
Type = Boolean;
DefaultValue = YES;
CommandLineFlag = "-fexceptions";
},
{ Name = GCC_IPHONEOS_VERSION_MIN;
Type = String;
DefaultValue = "$(IPHONEOS_DEPLOYMENT_TARGET)";
CommandLinePrefixFlag = "-mios-simulator-version-min=";
},
);
},
{
Type = Compiler;
Identifier = "com.apple.compilers.llvm.clang.1_0.migrator";
BasedOn = "default:com.apple.compilers.llvm.clang.1_0.migrator";
DeletedProperties = ( GCC_MACOSX_VERSION_MIN );
Options = (
{
Name = "GCC_ENABLE_EXCEPTIONS";
Type = Boolean;
DefaultValue = YES;
CommandLineFlag = "-fexceptions";
},
{ Name = GCC_IPHONEOS_VERSION_MIN;
Type = String;
DefaultValue = "$(IPHONEOS_DEPLOYMENT_TARGET)";
CommandLinePrefixFlag = "-mios-simulator-version-min=";
},
);
},
{
Type = Compiler;
Identifier = "com.apple.compilers.llvm.clang.1_0.migrator.xctest";
BasedOn = "default:com.apple.compilers.llvm.clang.1_0.migrator.xctest";
DeletedProperties = ( GCC_MACOSX_VERSION_MIN );
Options = (
{
Name = "GCC_ENABLE_EXCEPTIONS";
Type = Boolean;
DefaultValue = YES;
CommandLineFlag = "-fexceptions";
},
{ Name = GCC_IPHONEOS_VERSION_MIN;
Type = String;
DefaultValue = "$(IPHONEOS_DEPLOYMENT_TARGET)";
CommandLinePrefixFlag = "-mios-simulator-version-min=";
},
);
},
{
Type = Compiler;
Identifier = "com.apple.compilers.llvm.clang.1_0.astbuilder";
BasedOn = "default:com.apple.compilers.llvm.clang.1_0.astbuilder";
DeletedProperties = ( GCC_MACOSX_VERSION_MIN );
Options = (
{
Name = "GCC_ENABLE_EXCEPTIONS";
Type = Boolean;
DefaultValue = YES;
CommandLineFlag = "-fexceptions";
},
{ Name = GCC_IPHONEOS_VERSION_MIN;
Type = String;
DefaultValue = "$(IPHONEOS_DEPLOYMENT_TARGET)";
CommandLinePrefixFlag = "-mios-simulator-version-min=";
},
);
},

{ Type = Linker;
Identifier = com.apple.pbx.linkers.ld;
BasedOn = "default:com.apple.pbx.linkers.ld";
Class = PBXLinkerSpecificationLd;
Name = "Apple Mach-O Linker";
DeletedProperties = ( MACOSX_DEPLOYMENT_TARGET );
Options = (
{ Name = IPHONEOS_DEPLOYMENT_TARGET;
Type = String;
DefaultValue = "$(inherited)";
CommandLinePrefixFlag = "-mios-simulator-version-min=";
SetValueInEnvironmentVariable = "IPHONEOS_DEPLOYMENT_TARGET";
},
{
Name = "LD_ENTITLEMENTS_SECTION";
Type = String;
DefaultValue = "";
IsInputDependency = YES;
CommandLineArgs = {
"" = ();
"<<otherwise>>" = ( "-Xlinker", "-sectcreate", "-Xlinker", "__TEXT", "-Xlinker", "__entitlements", "-Xlinker", "$(value)" );
};
},
);
},

{ Type = Linker;
Identifier = com.apple.pbx.linkers.libtool;
BasedOn = "default:com.apple.pbx.linkers.libtool";
Class = PBXLinkerSpecificationLibtool;
Name = "Apple Mach-O Librarian";
DeletedProperties = ( MACOSX_DEPLOYMENT_TARGET );
Options = (
{ Name = IPHONEOS_DEPLOYMENT_TARGET;
Type = String;
SetValueInEnvironmentVariable = "IPHONEOS_DEPLOYMENT_TARGET";
},
{
Name = "LD_ENTITLEMENTS_SECTION";
Type = String;
DefaultValue = "";
IsInputDependency = YES;
CommandLineArgs = {
"" = ();
"<<otherwise>>" = ( "-Xlinker", "-sectcreate", "-Xlinker", "__TEXT", "-Xlinker", "__entitlements", "-Xlinker", "$(value)" );
};
},
);
},


)
Binary file not shown.
Loading