react-native-camera-kit/ios/ReactNativeCameraKit.xcodeproj/project.pbxproj
David Bertet 13aed7196f Refine orientation
Make initializeMotionManager private
Use extensions for conversions
Handle accelerometer updates on background thread
Use UIDeviceOrientation for deviceOrientation
Converting UIDeviceOrientation to Interface/VideoOrientation counter-rotate it
2023-07-04 15:17:34 -07:00

340 lines
17 KiB
Plaintext

// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
26550AF61CFC7086007FF2DF /* CKCameraManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 26550AF51CFC7086007FF2DF /* CKCameraManager.m */; };
460C0C6C2A4B52D800066334 /* PhotoCaptureDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 460C0C6B2A4B52D800066334 /* PhotoCaptureDelegate.swift */; };
4620AA6C2A2C03FC00BC8929 /* RatioOverlayView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4620AA6B2A2C03FC00BC8929 /* RatioOverlayView.swift */; };
4620AA702A2C4A5F00BC8929 /* SimulatorPreviewView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4620AA6F2A2C4A5F00BC8929 /* SimulatorPreviewView.swift */; };
4620AA722A2C4FA500BC8929 /* CameraManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4620AA712A2C4FA500BC8929 /* CameraManager.swift */; };
4620AA742A2C52C300BC8929 /* CameraView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4620AA732A2C52C300BC8929 /* CameraView.swift */; };
463096882A2C757F002ABA1A /* CKTypes+RCTConvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 463096872A2C757F002ABA1A /* CKTypes+RCTConvert.m */; };
4630968B2A2D5423002ABA1A /* Types.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4630968A2A2D5423002ABA1A /* Types.swift */; };
46506F272A37810C0058D3F2 /* RealPreviewView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46506F262A37810B0058D3F2 /* RealPreviewView.swift */; };
46C558C92A4AAAD100C68BA0 /* RealCamera.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46C558C82A4AAAD100C68BA0 /* RealCamera.swift */; };
46C558CB2A4AAB3400C68BA0 /* CameraProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46C558CA2A4AAB3400C68BA0 /* CameraProtocol.swift */; };
46C558CD2A4AAB5D00C68BA0 /* SimulatorCamera.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46C558CC2A4AAB5D00C68BA0 /* SimulatorCamera.swift */; };
46C558CF2A4AAD7300C68BA0 /* FocusInterfaceView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46C558CE2A4AAD7300C68BA0 /* FocusInterfaceView.swift */; };
46EE6F472A54C107001B9C30 /* UIInterfaceOrientation+Convert.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46EE6F462A54C107001B9C30 /* UIInterfaceOrientation+Convert.swift */; };
46EE6F492A54C12D001B9C30 /* AVCaptureDevice+Setter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46EE6F482A54C12D001B9C30 /* AVCaptureDevice+Setter.swift */; };
46EE6F4B2A54CEB3001B9C30 /* UIDeviceOrientation+Convert.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46EE6F4A2A54CEB3001B9C30 /* UIDeviceOrientation+Convert.swift */; };
46F30C012A3A859B000597F6 /* ScannerFrameView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46F30C002A3A859B000597F6 /* ScannerFrameView.swift */; };
46F30C032A3ABB9D000597F6 /* ScannerInterfaceView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46F30C022A3ABB9D000597F6 /* ScannerInterfaceView.swift */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
2646934C1CFB2A6B00F3A740 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/$(PRODUCT_NAME)";
dstSubfolderSpec = 16;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
2646934E1CFB2A6B00F3A740 /* libReactNativeCameraKit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libReactNativeCameraKit.a; sourceTree = BUILT_PRODUCTS_DIR; };
26550AF51CFC7086007FF2DF /* CKCameraManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CKCameraManager.m; sourceTree = "<group>"; };
460C0C6B2A4B52D800066334 /* PhotoCaptureDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoCaptureDelegate.swift; sourceTree = "<group>"; };
4620AA682A2BFDBC00BC8929 /* ReactNativeCameraKit-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeCameraKit-Bridging-Header.h"; sourceTree = "<group>"; };
4620AA6B2A2C03FC00BC8929 /* RatioOverlayView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RatioOverlayView.swift; sourceTree = "<group>"; };
4620AA6F2A2C4A5F00BC8929 /* SimulatorPreviewView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimulatorPreviewView.swift; sourceTree = "<group>"; };
4620AA712A2C4FA500BC8929 /* CameraManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CameraManager.swift; sourceTree = "<group>"; };
4620AA732A2C52C300BC8929 /* CameraView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CameraView.swift; sourceTree = "<group>"; };
463096872A2C757F002ABA1A /* CKTypes+RCTConvert.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "CKTypes+RCTConvert.m"; sourceTree = "<group>"; };
463096892A2C7D89002ABA1A /* ReactNativeCameraKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReactNativeCameraKit.h; sourceTree = "<group>"; };
4630968A2A2D5423002ABA1A /* Types.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Types.swift; sourceTree = "<group>"; };
46506F262A37810B0058D3F2 /* RealPreviewView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RealPreviewView.swift; sourceTree = "<group>"; };
46C558C82A4AAAD100C68BA0 /* RealCamera.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RealCamera.swift; sourceTree = "<group>"; };
46C558CA2A4AAB3400C68BA0 /* CameraProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CameraProtocol.swift; sourceTree = "<group>"; };
46C558CC2A4AAB5D00C68BA0 /* SimulatorCamera.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimulatorCamera.swift; sourceTree = "<group>"; };
46C558CE2A4AAD7300C68BA0 /* FocusInterfaceView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FocusInterfaceView.swift; sourceTree = "<group>"; };
46EE6F462A54C107001B9C30 /* UIInterfaceOrientation+Convert.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIInterfaceOrientation+Convert.swift"; sourceTree = "<group>"; };
46EE6F482A54C12D001B9C30 /* AVCaptureDevice+Setter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AVCaptureDevice+Setter.swift"; sourceTree = "<group>"; };
46EE6F4A2A54CEB3001B9C30 /* UIDeviceOrientation+Convert.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIDeviceOrientation+Convert.swift"; sourceTree = "<group>"; };
46F30C002A3A859B000597F6 /* ScannerFrameView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScannerFrameView.swift; sourceTree = "<group>"; };
46F30C022A3ABB9D000597F6 /* ScannerInterfaceView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScannerInterfaceView.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
2646934B1CFB2A6B00F3A740 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
264693451CFB2A6B00F3A740 = {
isa = PBXGroup;
children = (
264693501CFB2A6B00F3A740 /* ReactNativeCameraKit */,
2646934F1CFB2A6B00F3A740 /* Products */,
);
sourceTree = "<group>";
};
2646934F1CFB2A6B00F3A740 /* Products */ = {
isa = PBXGroup;
children = (
2646934E1CFB2A6B00F3A740 /* libReactNativeCameraKit.a */,
);
name = Products;
sourceTree = "<group>";
};
264693501CFB2A6B00F3A740 /* ReactNativeCameraKit */ = {
isa = PBXGroup;
children = (
46EE6F482A54C12D001B9C30 /* AVCaptureDevice+Setter.swift */,
46EE6F4A2A54CEB3001B9C30 /* UIDeviceOrientation+Convert.swift */,
46EE6F462A54C107001B9C30 /* UIInterfaceOrientation+Convert.swift */,
26550AF51CFC7086007FF2DF /* CKCameraManager.m */,
4620AA712A2C4FA500BC8929 /* CameraManager.swift */,
463096872A2C757F002ABA1A /* CKTypes+RCTConvert.m */,
4620AA732A2C52C300BC8929 /* CameraView.swift */,
46C558CA2A4AAB3400C68BA0 /* CameraProtocol.swift */,
46C558C82A4AAAD100C68BA0 /* RealCamera.swift */,
46506F262A37810B0058D3F2 /* RealPreviewView.swift */,
460C0C6B2A4B52D800066334 /* PhotoCaptureDelegate.swift */,
46C558CC2A4AAB5D00C68BA0 /* SimulatorCamera.swift */,
4620AA6F2A2C4A5F00BC8929 /* SimulatorPreviewView.swift */,
4630968A2A2D5423002ABA1A /* Types.swift */,
4620AA6B2A2C03FC00BC8929 /* RatioOverlayView.swift */,
46F30C002A3A859B000597F6 /* ScannerFrameView.swift */,
46F30C022A3ABB9D000597F6 /* ScannerInterfaceView.swift */,
46C558CE2A4AAD7300C68BA0 /* FocusInterfaceView.swift */,
4620AA682A2BFDBC00BC8929 /* ReactNativeCameraKit-Bridging-Header.h */,
463096892A2C7D89002ABA1A /* ReactNativeCameraKit.h */,
);
path = ReactNativeCameraKit;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
2646934D1CFB2A6B00F3A740 /* ReactNativeCameraKit */ = {
isa = PBXNativeTarget;
buildConfigurationList = 264693571CFB2A6B00F3A740 /* Build configuration list for PBXNativeTarget "ReactNativeCameraKit" */;
buildPhases = (
2646934A1CFB2A6B00F3A740 /* Sources */,
2646934B1CFB2A6B00F3A740 /* Frameworks */,
2646934C1CFB2A6B00F3A740 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = ReactNativeCameraKit;
productName = ReactNativeCameraKit;
productReference = 2646934E1CFB2A6B00F3A740 /* libReactNativeCameraKit.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
264693461CFB2A6B00F3A740 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = "";
TargetAttributes = {
2646934D1CFB2A6B00F3A740 = {
CreatedOnToolsVersion = 7.3;
LastSwiftMigration = 1430;
};
};
};
buildConfigurationList = 264693491CFB2A6B00F3A740 /* Build configuration list for PBXProject "ReactNativeCameraKit" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
);
mainGroup = 264693451CFB2A6B00F3A740;
productRefGroup = 2646934F1CFB2A6B00F3A740 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
2646934D1CFB2A6B00F3A740 /* ReactNativeCameraKit */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
2646934A1CFB2A6B00F3A740 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
46C558CF2A4AAD7300C68BA0 /* FocusInterfaceView.swift in Sources */,
463096882A2C757F002ABA1A /* CKTypes+RCTConvert.m in Sources */,
4620AA742A2C52C300BC8929 /* CameraView.swift in Sources */,
4620AA702A2C4A5F00BC8929 /* SimulatorPreviewView.swift in Sources */,
46F30C032A3ABB9D000597F6 /* ScannerInterfaceView.swift in Sources */,
46C558C92A4AAAD100C68BA0 /* RealCamera.swift in Sources */,
46EE6F4B2A54CEB3001B9C30 /* UIDeviceOrientation+Convert.swift in Sources */,
46EE6F472A54C107001B9C30 /* UIInterfaceOrientation+Convert.swift in Sources */,
46F30C012A3A859B000597F6 /* ScannerFrameView.swift in Sources */,
46C558CD2A4AAB5D00C68BA0 /* SimulatorCamera.swift in Sources */,
46506F272A37810C0058D3F2 /* RealPreviewView.swift in Sources */,
46EE6F492A54C12D001B9C30 /* AVCaptureDevice+Setter.swift in Sources */,
4630968B2A2D5423002ABA1A /* Types.swift in Sources */,
4620AA6C2A2C03FC00BC8929 /* RatioOverlayView.swift in Sources */,
460C0C6C2A4B52D800066334 /* PhotoCaptureDelegate.swift in Sources */,
26550AF61CFC7086007FF2DF /* CKCameraManager.m in Sources */,
46C558CB2A4AAB3400C68BA0 /* CameraProtocol.swift in Sources */,
4620AA722A2C4FA500BC8929 /* CameraManager.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
264693551CFB2A6B00F3A740 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
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 = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
name = Debug;
};
264693561CFB2A6B00F3A740 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
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 = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
264693581CFB2A6B00F3A740 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../react-native/React/**",
"$(inherited)",
);
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "ReactNativeCameraKit/ReactNativeCameraKit-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
264693591CFB2A6B00F3A740 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../react-native/React/**",
"$(inherited)",
);
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "ReactNativeCameraKit/ReactNativeCameraKit-Bridging-Header.h";
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
264693491CFB2A6B00F3A740 /* Build configuration list for PBXProject "ReactNativeCameraKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
264693551CFB2A6B00F3A740 /* Debug */,
264693561CFB2A6B00F3A740 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
264693571CFB2A6B00F3A740 /* Build configuration list for PBXNativeTarget "ReactNativeCameraKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
264693581CFB2A6B00F3A740 /* Debug */,
264693591CFB2A6B00F3A740 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 264693461CFB2A6B00F3A740 /* Project object */;
}