Implement universal framework
This commit is contained in:
18
Configurations/UniversalFramework_Base.xcconfig
Normal file
18
Configurations/UniversalFramework_Base.xcconfig
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// UniversalFramework_Base.xcconfig
|
||||
// Stencil
|
||||
//
|
||||
// Created by Marius Rackwitz on 29/11/14.
|
||||
// Copyright (c) 2014 Marius Rackwitz. All rights reserved.
|
||||
//
|
||||
|
||||
// Make it universal
|
||||
SUPPORTED_PLATFORMS = iphonesimulator iphoneos macosx
|
||||
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7 armv7s
|
||||
VALID_ARCHS[sdk=iphonesimulator*] = arm64 armv7 armv7s
|
||||
VALID_ARCHS[sdk=macosx*] = i386 x86_64
|
||||
|
||||
// Dynamic linking uses different default copy paths
|
||||
LD_RUNPATH_SEARCH_PATHS[sdk=iphoneos*] = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||
LD_RUNPATH_SEARCH_PATHS[sdk=iphonesimulator*] = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||
LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks'
|
||||
18
Configurations/UniversalFramework_Framework.xcconfig
Normal file
18
Configurations/UniversalFramework_Framework.xcconfig
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// UniversalFramework_Framework.xcconfig
|
||||
// Stencil
|
||||
//
|
||||
// Created by Marius Rackwitz on 29/11/14.
|
||||
// Copyright (c) 2014 Marius Rackwitz. All rights reserved.
|
||||
//
|
||||
|
||||
#include "UniversalFramework_Base.xcconfig"
|
||||
|
||||
// iOS-specific default settings
|
||||
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
|
||||
TARGETED_DEVICE_FAMILY[sdk=iphonesimulator*] = 1,2
|
||||
TARGETED_DEVICE_FAMILY[sdk=iphone*] = 1,2
|
||||
|
||||
// OSX-specific default settings
|
||||
FRAMEWORK_VERSION[sdk=macosx*] = A
|
||||
COMBINE_HIDPI_IMAGES[sdk=macosx*] = YES
|
||||
16
Configurations/UniversalFramework_Test.xcconfig
Normal file
16
Configurations/UniversalFramework_Test.xcconfig
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// UniversalFramework_Test.xcconfig
|
||||
// Stencil
|
||||
//
|
||||
// Created by Marius Rackwitz on 29/11/14.
|
||||
// Copyright (c) 2014 Marius Rackwitz. All rights reserved.
|
||||
//
|
||||
|
||||
#include "UniversalFramework_Base.xcconfig"
|
||||
|
||||
FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*] = $(inherited) '$(SDKROOT)/Developer/Library/Frameworks'
|
||||
FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*] = $(inherited) '$(SDKROOT)/Developer/Library/Frameworks'
|
||||
FRAMEWORK_SEARCH_PATHS[sdk=macosx*] = $(inherited) '$(DEVELOPER_FRAMEWORKS_DIR)'
|
||||
|
||||
// Yep.
|
||||
LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) '@executable_path/../Frameworks' '@loader_path/../Frameworks'
|
||||
Reference in New Issue
Block a user