This repository has been archived by the owner on Jul 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from auth0/feature-introduce-xcodeproj
Initial Support for rnpm
- Loading branch information
Showing
22 changed files
with
436 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,304 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 46; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
5F049A0B1CAE9FCD006F6C05 /* A0LockReactModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F0499FC1CAE9FCD006F6C05 /* A0LockReactModule.m */; }; | ||
5F049A0D1CAE9FCD006F6C05 /* A0LockReact.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F049A021CAE9FCD006F6C05 /* A0LockReact.m */; }; | ||
5F049A0E1CAE9FCD006F6C05 /* A0ObjectSerializer.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F049A041CAE9FCD006F6C05 /* A0ObjectSerializer.m */; }; | ||
5F049A0F1CAE9FCD006F6C05 /* A0Token+ReactNative.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F049A061CAE9FCD006F6C05 /* A0Token+ReactNative.m */; }; | ||
5F049A101CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F049A081CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.m */; }; | ||
5F049A111CAE9FCD006F6C05 /* A0UserProfile+ReactNative.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F049A0A1CAE9FCD006F6C05 /* A0UserProfile+ReactNative.m */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXCopyFilesBuildPhase section */ | ||
5F0499EC1CAE9F4A006F6C05 /* CopyFiles */ = { | ||
isa = PBXCopyFilesBuildPhase; | ||
buildActionMask = 2147483647; | ||
dstPath = "include/$(PRODUCT_NAME)"; | ||
dstSubfolderSpec = 16; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXCopyFilesBuildPhase section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
5F0499EE1CAE9F4A006F6C05 /* libA0RNLock.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libA0RNLock.a; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
5F0499FB1CAE9FCD006F6C05 /* A0LockReactModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = A0LockReactModule.h; sourceTree = "<group>"; }; | ||
5F0499FC1CAE9FCD006F6C05 /* A0LockReactModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = A0LockReactModule.m; sourceTree = "<group>"; }; | ||
5F049A001CAE9FCD006F6C05 /* A0DictionarySerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = A0DictionarySerialization.h; sourceTree = "<group>"; }; | ||
5F049A011CAE9FCD006F6C05 /* A0LockReact.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = A0LockReact.h; sourceTree = "<group>"; }; | ||
5F049A021CAE9FCD006F6C05 /* A0LockReact.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = A0LockReact.m; sourceTree = "<group>"; }; | ||
5F049A031CAE9FCD006F6C05 /* A0ObjectSerializer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = A0ObjectSerializer.h; sourceTree = "<group>"; }; | ||
5F049A041CAE9FCD006F6C05 /* A0ObjectSerializer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = A0ObjectSerializer.m; sourceTree = "<group>"; }; | ||
5F049A051CAE9FCD006F6C05 /* A0Token+ReactNative.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "A0Token+ReactNative.h"; sourceTree = "<group>"; }; | ||
5F049A061CAE9FCD006F6C05 /* A0Token+ReactNative.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "A0Token+ReactNative.m"; sourceTree = "<group>"; }; | ||
5F049A071CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "A0UserIdentity+ReactNative.h"; sourceTree = "<group>"; }; | ||
5F049A081CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "A0UserIdentity+ReactNative.m"; sourceTree = "<group>"; }; | ||
5F049A091CAE9FCD006F6C05 /* A0UserProfile+ReactNative.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "A0UserProfile+ReactNative.h"; sourceTree = "<group>"; }; | ||
5F049A0A1CAE9FCD006F6C05 /* A0UserProfile+ReactNative.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "A0UserProfile+ReactNative.m"; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
5F0499EB1CAE9F4A006F6C05 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
5F0499E51CAE9F4A006F6C05 = { | ||
isa = PBXGroup; | ||
children = ( | ||
5F0499FA1CAE9FCD006F6C05 /* A0RNLock */, | ||
5F0499EF1CAE9F4A006F6C05 /* Products */, | ||
); | ||
sourceTree = "<group>"; | ||
}; | ||
5F0499EF1CAE9F4A006F6C05 /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
5F0499EE1CAE9F4A006F6C05 /* libA0RNLock.a */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
5F0499FA1CAE9FCD006F6C05 /* A0RNLock */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
5F0499FB1CAE9FCD006F6C05 /* A0LockReactModule.h */, | ||
5F0499FC1CAE9FCD006F6C05 /* A0LockReactModule.m */, | ||
5F0499FF1CAE9FCD006F6C05 /* Core */, | ||
); | ||
path = A0RNLock; | ||
sourceTree = "<group>"; | ||
}; | ||
5F0499FF1CAE9FCD006F6C05 /* Core */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
5F049A001CAE9FCD006F6C05 /* A0DictionarySerialization.h */, | ||
5F049A011CAE9FCD006F6C05 /* A0LockReact.h */, | ||
5F049A021CAE9FCD006F6C05 /* A0LockReact.m */, | ||
5F049A031CAE9FCD006F6C05 /* A0ObjectSerializer.h */, | ||
5F049A041CAE9FCD006F6C05 /* A0ObjectSerializer.m */, | ||
5F049A051CAE9FCD006F6C05 /* A0Token+ReactNative.h */, | ||
5F049A061CAE9FCD006F6C05 /* A0Token+ReactNative.m */, | ||
5F049A071CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.h */, | ||
5F049A081CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.m */, | ||
5F049A091CAE9FCD006F6C05 /* A0UserProfile+ReactNative.h */, | ||
5F049A0A1CAE9FCD006F6C05 /* A0UserProfile+ReactNative.m */, | ||
); | ||
path = Core; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
5F0499ED1CAE9F4A006F6C05 /* A0RNLock */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = 5F0499F71CAE9F4A006F6C05 /* Build configuration list for PBXNativeTarget "A0RNLock" */; | ||
buildPhases = ( | ||
5F0499EA1CAE9F4A006F6C05 /* Sources */, | ||
5F0499EB1CAE9F4A006F6C05 /* Frameworks */, | ||
5F0499EC1CAE9F4A006F6C05 /* CopyFiles */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = A0RNLock; | ||
productName = A0RNLock; | ||
productReference = 5F0499EE1CAE9F4A006F6C05 /* libA0RNLock.a */; | ||
productType = "com.apple.product-type.library.static"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
5F0499E61CAE9F4A006F6C05 /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
LastUpgradeCheck = 0720; | ||
ORGANIZATIONNAME = Auth0; | ||
TargetAttributes = { | ||
5F0499ED1CAE9F4A006F6C05 = { | ||
CreatedOnToolsVersion = 7.2.1; | ||
}; | ||
}; | ||
}; | ||
buildConfigurationList = 5F0499E91CAE9F4A006F6C05 /* Build configuration list for PBXProject "A0RNLock" */; | ||
compatibilityVersion = "Xcode 3.2"; | ||
developmentRegion = English; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
en, | ||
); | ||
mainGroup = 5F0499E51CAE9F4A006F6C05; | ||
productRefGroup = 5F0499EF1CAE9F4A006F6C05 /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
5F0499ED1CAE9F4A006F6C05 /* A0RNLock */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
5F0499EA1CAE9F4A006F6C05 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
5F049A0D1CAE9FCD006F6C05 /* A0LockReact.m in Sources */, | ||
5F049A0E1CAE9FCD006F6C05 /* A0ObjectSerializer.m in Sources */, | ||
5F049A0B1CAE9FCD006F6C05 /* A0LockReactModule.m in Sources */, | ||
5F049A111CAE9FCD006F6C05 /* A0UserProfile+ReactNative.m in Sources */, | ||
5F049A0F1CAE9FCD006F6C05 /* A0Token+ReactNative.m in Sources */, | ||
5F049A101CAE9FCD006F6C05 /* A0UserIdentity+ReactNative.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
5F0499F51CAE9F4A006F6C05 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_ENABLE_MODULES = YES; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_WARN_BOOL_CONVERSION = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = dwarf; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_TESTABILITY = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"DEBUG=1", | ||
"$(inherited)", | ||
); | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
GCC_WARN_UNUSED_FUNCTION = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 7.0; | ||
MTL_ENABLE_DEBUG_INFO = YES; | ||
ONLY_ACTIVE_ARCH = YES; | ||
SDKROOT = iphoneos; | ||
}; | ||
name = Debug; | ||
}; | ||
5F0499F61CAE9F4A006F6C05 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
CLANG_CXX_LIBRARY = "libc++"; | ||
CLANG_ENABLE_MODULES = YES; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_WARN_BOOL_CONVERSION = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
ENABLE_NS_ASSERTIONS = NO; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
GCC_WARN_UNUSED_FUNCTION = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 7.0; | ||
MTL_ENABLE_DEBUG_INFO = NO; | ||
SDKROOT = iphoneos; | ||
VALIDATE_PRODUCT = YES; | ||
}; | ||
name = Release; | ||
}; | ||
5F0499F81CAE9F4A006F6C05 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
HEADER_SEARCH_PATHS = ( | ||
"$(SRCROOT)/../../React/**", | ||
"$(SRCROOT)/../react-native/React/**", | ||
"${SRCROOT}/../../ios/Pods/Headers/Public/**", | ||
"${SRCROOT}/../../ios/Pods/Headers/Public/Lock/**", | ||
); | ||
OTHER_LDFLAGS = "-ObjC"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SKIP_INSTALL = YES; | ||
}; | ||
name = Debug; | ||
}; | ||
5F0499F91CAE9F4A006F6C05 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
HEADER_SEARCH_PATHS = ( | ||
"$(SRCROOT)/../../React/**", | ||
"$(SRCROOT)/../react-native/React/**", | ||
"${SRCROOT}/../../ios/Pods/Headers/Public/**", | ||
"${SRCROOT}/../../ios/Pods/Headers/Public/Lock/**", | ||
); | ||
OTHER_LDFLAGS = "-ObjC"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SKIP_INSTALL = YES; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
5F0499E91CAE9F4A006F6C05 /* Build configuration list for PBXProject "A0RNLock" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
5F0499F51CAE9F4A006F6C05 /* Debug */, | ||
5F0499F61CAE9F4A006F6C05 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
5F0499F71CAE9F4A006F6C05 /* Build configuration list for PBXNativeTarget "A0RNLock" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
5F0499F81CAE9F4A006F6C05 /* Debug */, | ||
5F0499F91CAE9F4A006F6C05 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 5F0499E61CAE9F4A006F6C05 /* Project object */; | ||
} |
7 changes: 7 additions & 0 deletions
7
A0RNLock.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pod 'Lock', '~> 1.24' | ||
pod 'Lock/TouchID' | ||
pod 'Lock/SMS' | ||
pod 'Lock/Email' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
|
||
podfile=`pwd`/ios/Podfile | ||
template=`pwd`/node_modules/react-native-lock-ios/Podfile.template | ||
|
||
echo "Checking Podfile in iOS project ($podfile)" | ||
|
||
if [ -f $podfile ] | ||
then | ||
echo "" | ||
echo "Found an existing Podfile, Do you want to override it? [N/y]" | ||
read generate_env_file | ||
|
||
if [ "$generate_env_file" != "y" ] | ||
then | ||
echo "Add the following pods": | ||
echo "" | ||
echo "" | ||
cat $template | ||
echo "" | ||
echo "" | ||
echo "and run 'pod install' to install Lock for iOS" | ||
exit 0 | ||
fi | ||
|
||
rm -f $podfile | ||
rm -f "$podfile.lock" | ||
fi | ||
|
||
echo "Adding Podfile to iOS project" | ||
|
||
cp $template $podfile >/dev/null 2>&1 | ||
|
||
echo "Installing Pods" | ||
|
||
pod install --project-directory=ios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
echo "Preparing to link react-native-lock for iOS" | ||
|
||
echo "Checking CocoaPods..." | ||
has_cocoapods=`which pod >/dev/null 2>&1` | ||
if [ -z "$has_cocoapods" ] | ||
then | ||
echo "CocoaPods already installed" | ||
else | ||
echo "Installing CocoaPods..." | ||
gem install cocoapods | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.