lxy há 1 ano atrás
pai
commit
276ef26fba

+ 6 - 65
Example/Pods/Pods.xcodeproj/project.pbxproj

@@ -15,6 +15,7 @@
 			dependencies = (
 			);
 			name = TensorFlowLite;
+			productName = TensorFlowLite;
 		};
 /* End PBXAggregateTarget section */
 
@@ -97,7 +98,6 @@
 		5DC64232325DA5A4D21D97CC569CD758 /* PhotoCell.xib in Sources */ = {isa = PBXBuildFile; fileRef = D98C5C12F052EAD529EC9EEFE493EFAE /* PhotoCell.xib */; };
 		600CA65C8D86178DF521F4B01DBB84E0 /* MovieListCellModel.h in Headers */ = {isa = PBXBuildFile; fileRef = BAE523B549F9C5EA324F14DD4BBCB4EC /* MovieListCellModel.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		61D5656846E4EFF9A3BBACEFEA2A9157 /* MASConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 83DF0E9265D9C7C9A64D13D326C24C40 /* MASConstraint.m */; };
-		62D4C11F440C4A96585B6703AF77C5E1 /* lenz_stitcher.a in Sources */ = {isa = PBXBuildFile; fileRef = A316837B0A1BDA3FCB6907F49797C29F /* lenz_stitcher.a */; };
 		63BE63519B1690F0C066293683F854D6 /* MASViewConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = ACC7C0BD6430C348FA88862F379F6DA2 /* MASViewConstraint.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		65A7EEF17AF1C948906239F6A246E0FF /* NSLayoutConstraint+MASDebugAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E6AF7755455F924245F4D6A2C617747 /* NSLayoutConstraint+MASDebugAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		67A58DFA526AC3A9A871F233A47DBFB8 /* AVCapturePhotoOutput+VersionAdaptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 459CD2883A08E917967B202825AE1427 /* AVCapturePhotoOutput+VersionAdaptor.h */; settings = {ATTRIBUTES = (Project, ); }; };
@@ -106,7 +106,6 @@
 		6868E309F99B12D1046CF67E5D4601D8 /* YYTextInput.m in Sources */ = {isa = PBXBuildFile; fileRef = 03580EB58D7084008ED15AFEFDDF44C5 /* YYTextInput.m */; };
 		692535448F10C176CBFBE177CE206EBF /* PCSSessionWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 023CA2B4CB726176D7130B2CDD464FD7 /* PCSSessionWrapper.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		69864DFE3EC290040D273D325FA0E089 /* MASConstraintMaker.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CD9F5FAE8AA1C9DC33B67DCE4D06112 /* MASConstraintMaker.h */; settings = {ATTRIBUTES = (Project, ); }; };
-		6A162316CAEA8379A5DD1408C9F4C104 /* LenzCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = BDA9F250AB98999CB591E8E8EBC94C04 /* LenzCommon.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		6A93F1139D51CC7E5577AA5F665F7EDA /* LenzCameraSDK.m in Sources */ = {isa = PBXBuildFile; fileRef = E8E4DDD2282B9B833AC55ABFA624EA06 /* LenzCameraSDK.m */; };
 		6AB71F1AFAAEAEA715F98BA8CCC2FD31 /* PCSMotionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = A2C09018F6FBA2B178C18BE2A35BCC39 /* PCSMotionManager.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		6D0B9203EC261F2DC6641C1592F967A4 /* Masonry.h in Headers */ = {isa = PBXBuildFile; fileRef = 38BE671C7B48B2C725FE5EB9E63666BC /* Masonry.h */; settings = {ATTRIBUTES = (Project, ); }; };
@@ -180,7 +179,6 @@
 		C0B940B2CDE1CB5CEF3752720BCF4314 /* UIColor+JKAdd.h in Headers */ = {isa = PBXBuildFile; fileRef = 2F5CFD310DE3E3F4309E4692E5FDC2CC /* UIColor+JKAdd.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		C4C8590716111199B7AED48DF3FD1165 /* YYTextWeakProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 3DCA23D47376CDDDCB02F34624EC3328 /* YYTextWeakProxy.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		C688AA37EE739D61560E2B86D64ACC51 /* UIPasteboard+YYText.m in Sources */ = {isa = PBXBuildFile; fileRef = E1A4A10D45532A36D91AB25E923BCE55 /* UIPasteboard+YYText.m */; };
-		C690F7D6ACD090EC597507C9BF8C96D3 /* Shaders.metal in Sources */ = {isa = PBXBuildFile; fileRef = F586AE2DD1FB03ED19CD3340751A6076 /* Shaders.metal */; };
 		C7D18935F2CFB0B0525CAEFC4610C6AE /* UIView+YYText.h in Headers */ = {isa = PBXBuildFile; fileRef = 60D974875E35028BFB587AC3574BEC00 /* UIView+YYText.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		C89F708DF6D8456EBE5DA2D2E291BC8A /* PanoramaGuideView.m in Sources */ = {isa = PBXBuildFile; fileRef = 642B6533196B118EC2A42532AAB9F790 /* PanoramaGuideView.m */; };
 		C8EEE774E035293D0326E733FBCB8EC8 /* YYTextLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 44661AF21CDB4677BF788BD75ACB86E8 /* YYTextLayout.m */; };
@@ -354,7 +352,7 @@
 		1FB8EFDA0A02A82868E8E02DD5B6E34E /* MovieListViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MovieListViewController.h; sourceTree = "<group>"; };
 		1FFED36A657123030ABB700256D73F15 /* Masonry */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = Masonry; path = libMasonry.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		2002BF941497DCE4DC551650ED008F9E /* MASConstraintMaker.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASConstraintMaker.m; path = Masonry/MASConstraintMaker.m; sourceTree = "<group>"; };
-		2136F17FD7A18281A6A63BACBB7B5DA2 /* moire_mobilenetv2_79.tflite */ = {isa = PBXFileReference; includeInIndex = 1; path = moire_mobilenetv2_79.tflite; sourceTree = "<group>"; };
+		2136F17FD7A18281A6A63BACBB7B5DA2 /* moire_mobilenetv2_79.tflite */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; path = moire_mobilenetv2_79.tflite; sourceTree = "<group>"; };
 		21B8E03137BCF9F54F9CFE4277F7BEB7 /* QuitMultipleModeAlertViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = QuitMultipleModeAlertViewController.h; sourceTree = "<group>"; };
 		21CABE754D79776A6CA0048575C17125 /* NSAttributedString+YYText.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSAttributedString+YYText.m"; path = "YYText/Utility/NSAttributedString+YYText.m"; sourceTree = "<group>"; };
 		230AB8ED6A299D9085C2F4F5ECD912A7 /* YYTextMagnifier.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextMagnifier.h; path = YYText/Component/YYTextMagnifier.h; sourceTree = "<group>"; };
@@ -399,7 +397,7 @@
 		4E5519F8ACF06D3117C557AC71BBF11A /* YYText.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = YYText.debug.xcconfig; sourceTree = "<group>"; };
 		4F0D684B0FCFC439535A5896507EB868 /* YYTextContainerView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextContainerView.h; path = YYText/Component/YYTextContainerView.h; sourceTree = "<group>"; };
 		5100BB2C21C348957D675E5E8E8AFC23 /* YYTextAttribute.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextAttribute.h; path = YYText/String/YYTextAttribute.h; sourceTree = "<group>"; };
-		526D175D837B13BAA60471FCE7F8F216 /* LenzSDK.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = LenzSDK.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		526D175D837B13BAA60471FCE7F8F216 /* LenzSDK.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = LenzSDK.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
 		5297FF5173925AD14037E2972FE1575C /* ViewController+MASAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "ViewController+MASAdditions.h"; path = "Masonry/ViewController+MASAdditions.h"; sourceTree = "<group>"; };
 		53DD05D7B6888C455D77CA8C05CEC207 /* YYTextTransaction.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextTransaction.h; path = YYText/Utility/YYTextTransaction.h; sourceTree = "<group>"; };
 		567009CE78A0EAB5467FAB5FBFF54EF1 /* YYTextTransaction.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextTransaction.m; path = YYText/Utility/YYTextTransaction.m; sourceTree = "<group>"; };
@@ -459,10 +457,9 @@
 		9BB15112B40D29902BD44EB63437D817 /* PhotoListViewController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PhotoListViewController.m; sourceTree = "<group>"; };
 		9C4CBCA4D29B03564BBDBC5F5C01D93C /* PanoramaGuideView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PanoramaGuideView.h; sourceTree = "<group>"; };
 		9C54896DA6101D4274319E355FCC702C /* SVProgressHUD.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SVProgressHUD.m; path = SVProgressHUD/SVProgressHUD.m; sourceTree = "<group>"; };
-		9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
 		A17498484830BD5638E4AAE372DA3F34 /* PCSSessionWrapper.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PCSSessionWrapper.m; sourceTree = "<group>"; };
 		A2C09018F6FBA2B178C18BE2A35BCC39 /* PCSMotionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PCSMotionManager.h; sourceTree = "<group>"; };
-		A316837B0A1BDA3FCB6907F49797C29F /* lenz_stitcher.a */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = archive.ar; path = lenz_stitcher.a; sourceTree = "<group>"; };
 		A4C18B2ED0CB87015BA0CC57B8C7157E /* YYTextMagnifier.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextMagnifier.m; path = YYText/Component/YYTextMagnifier.m; sourceTree = "<group>"; };
 		A767AF5987619CA8337AB90476FC7A8B /* MASViewAttribute.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASViewAttribute.h; path = Masonry/MASViewAttribute.h; sourceTree = "<group>"; };
 		A8E2B95BAC7DAEE3F8A609F111031712 /* PCSPreviewViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PCSPreviewViewController.h; sourceTree = "<group>"; };
@@ -489,7 +486,6 @@
 		BAE523B549F9C5EA324F14DD4BBCB4EC /* MovieListCellModel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MovieListCellModel.h; sourceTree = "<group>"; };
 		BCFF22F430B4A88773539F11E8E2B575 /* NSString+Localization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NSString+Localization.m"; sourceTree = "<group>"; };
 		BD9189EC71760D28C686D5F3ABB28539 /* UIPasteboard+YYText.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIPasteboard+YYText.h"; path = "YYText/Utility/UIPasteboard+YYText.h"; sourceTree = "<group>"; };
-		BDA9F250AB98999CB591E8E8EBC94C04 /* LenzCommon.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = LenzCommon.h; sourceTree = "<group>"; };
 		BDAA4B378A2E594E02C3191126E989A7 /* QuitMultipleModeAlertViewController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = QuitMultipleModeAlertViewController.m; sourceTree = "<group>"; };
 		BDDCB1C7F8328C04E5BD1FE3F2C25114 /* YYTextEffectWindow.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextEffectWindow.h; path = YYText/Component/YYTextEffectWindow.h; sourceTree = "<group>"; };
 		BDEA7527A5E638AC420DC55A43D729CD /* PhotoAlbumModel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PhotoAlbumModel.m; sourceTree = "<group>"; };
@@ -537,7 +533,7 @@
 		E97D43C46A45EE515A4DA3AF94398441 /* SVProgressHUD */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = SVProgressHUD; path = libSVProgressHUD.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		EA45FA6D756C56F8C345F42BD8FCB2E9 /* YYTextAsyncLayer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextAsyncLayer.h; path = YYText/Utility/YYTextAsyncLayer.h; sourceTree = "<group>"; };
 		EADB3792F4D552050D74E9418727DB85 /* NSParagraphStyle+YYText.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSParagraphStyle+YYText.h"; path = "YYText/Utility/NSParagraphStyle+YYText.h"; sourceTree = "<group>"; };
-		EBB9426222A88CE22FFD44A6DC99F0E1 /* cpp-headers.mm */ = {isa = PBXFileReference; includeInIndex = 1; path = "cpp-headers.mm"; sourceTree = "<group>"; };
+		EBB9426222A88CE22FFD44A6DC99F0E1 /* cpp-headers.mm */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.objcpp; path = "cpp-headers.mm"; sourceTree = "<group>"; };
 		ECF16AD4550E44A71FF0CCCFE0A2135B /* VerticalButton.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = VerticalButton.m; sourceTree = "<group>"; };
 		ED574C07AC0262FD70066041F90EFFFD /* MovieListCellModel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = MovieListCellModel.m; sourceTree = "<group>"; };
 		EFA78D74D65C7A2CFC756FE18A5145D0 /* ImageCacheLRU.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = ImageCacheLRU.m; sourceTree = "<group>"; };
@@ -547,7 +543,6 @@
 		F2786C10A3CE15B2B97D2165EF589A44 /* CustomModalViewTransition.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = CustomModalViewTransition.m; sourceTree = "<group>"; };
 		F399DC89064A26DEE47CA1B9B31C3F60 /* MASViewConstraint.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MASViewConstraint.m; path = Masonry/MASViewConstraint.m; sourceTree = "<group>"; };
 		F4DA75E70A44BE70E7EE7A8E9E81CE80 /* PCSMotionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PCSMotionManager.m; sourceTree = "<group>"; };
-		F586AE2DD1FB03ED19CD3340751A6076 /* Shaders.metal */ = {isa = PBXFileReference; includeInIndex = 1; path = Shaders.metal; sourceTree = "<group>"; };
 		F8E1D2BD0418FD754EEF58BE1B4D2571 /* SVProgressHUD.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = SVProgressHUD.bundle; path = SVProgressHUD/SVProgressHUD.bundle; sourceTree = "<group>"; };
 		F96AA13B316FCDDD05D7F5984FE83C2E /* PCSButton.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PCSButton.h; sourceTree = "<group>"; };
 		FAF7A7016021E626ECAEBF36DDB38433 /* YYTextUtilities.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextUtilities.h; path = YYText/Utility/YYTextUtilities.h; sourceTree = "<group>"; };
@@ -615,7 +610,6 @@
 				35712E9585B95297D6815A5724533055 /* UIImage+ext.h */,
 				813E120135C3E3B5C50FB70609B4A8D3 /* UIImage+ext.m */,
 			);
-			name = Exts;
 			path = Exts;
 			sourceTree = "<group>";
 		};
@@ -651,7 +645,6 @@
 				8543A6A6CAF60FBCEEAF8BA85AD2BFEC /* PhotoListCellModel.h */,
 				4BAC658FD230DEDCE8BF7B9F3067EB41 /* PhotoListCellModel.m */,
 			);
-			name = Cell;
 			path = Cell;
 			sourceTree = "<group>";
 		};
@@ -661,19 +654,9 @@
 				D9F14E0DD1321D2339A05C60D9A95041 /* PanoramaOrientationView.h */,
 				F1F574562E83519685E1499FD4CCAD42 /* PanoramaOrientationView.m */,
 			);
-			name = PanoramaOrientaionView;
 			path = PanoramaOrientaionView;
 			sourceTree = "<group>";
 		};
-		1AFCEF380D2552F5D289C6E65713C028 /* lib */ = {
-			isa = PBXGroup;
-			children = (
-				A316837B0A1BDA3FCB6907F49797C29F /* lenz_stitcher.a */,
-			);
-			name = lib;
-			path = lib;
-			sourceTree = "<group>";
-		};
 		1E3BEACA729FCBE71CD3E568C3D60EAC /* Label */ = {
 			isa = PBXGroup;
 			children = (
@@ -684,7 +667,6 @@
 				C0931C591BE7B07CE458432E8414A12C /* TimerLabel.h */,
 				10ED3E885569F0ADA5C6D3DFF0824810 /* TimerLabel.m */,
 			);
-			name = Label;
 			path = Label;
 			sourceTree = "<group>";
 		};
@@ -694,7 +676,6 @@
 				AB4ED4E5A21F449AB237A6158DE5F976 /* LenzCachedResourceModel.h */,
 				48611A8832F58CED003645A0C8EDA810 /* LenzCachedResourceModel.m */,
 			);
-			name = DBModels;
 			path = DBModels;
 			sourceTree = "<group>";
 		};
@@ -704,7 +685,6 @@
 				A2C09018F6FBA2B178C18BE2A35BCC39 /* PCSMotionManager.h */,
 				F4DA75E70A44BE70E7EE7A8E9E81CE80 /* PCSMotionManager.m */,
 			);
-			name = PCSMotionManager;
 			path = PCSMotionManager;
 			sourceTree = "<group>";
 		};
@@ -714,7 +694,6 @@
 				E265302DDF648C95DD5AD1BFA940D191 /* CustomModalViewTransition.h */,
 				F2786C10A3CE15B2B97D2165EF589A44 /* CustomModalViewTransition.m */,
 			);
-			name = Transition;
 			path = Transition;
 			sourceTree = "<group>";
 		};
@@ -735,7 +714,6 @@
 				B3C1F715CBE4FC8D1B13CFDFC9079EDA /* CameraManager */,
 				4A760BDBF587710BB05975DA8FBF431F /* DB */,
 				042F0CE00372E08F37BF31F9D88FCECC /* Exts */,
-				1AFCEF380D2552F5D289C6E65713C028 /* lib */,
 				ED2982129D96B168906FA127CDDA8A19 /* LRU */,
 				6ADC6FFC2248F225BB6030B061BC2567 /* MoviePlayerViewController */,
 				FAE32A9F9A63A7EC6A9543468D547202 /* OperationNode */,
@@ -763,7 +741,6 @@
 				22A2F23447316E0F37E27D61BE5C5E01 /* Transition */,
 				C9267AE22240B09992918B7703A8E80E /* UIView+tool */,
 			);
-			name = UI;
 			path = UI;
 			sourceTree = "<group>";
 		};
@@ -776,7 +753,6 @@
 				BDAA4B378A2E594E02C3191126E989A7 /* QuitMultipleModeAlertViewController.m */,
 				A98A6874AF478874BC5AD38B0EEC575F /* QuitMultipleModeAlertViewController.xib */,
 			);
-			name = Alert;
 			path = Alert;
 			sourceTree = "<group>";
 		};
@@ -796,7 +772,6 @@
 				3007D1F66DCAE15BF3C90FF9AFB97502 /* PCSPreviewViewController.m */,
 				70DA52D70BA3DF3FE4DCDBF44793E925 /* GestureHandler */,
 			);
-			name = PCSBaseViewController;
 			path = PCSBaseViewController;
 			sourceTree = "<group>";
 		};
@@ -807,9 +782,7 @@
 				4D3F36A7A2E0A0590FC794057DA03E5D /* CameraTextureRenderPass.m */,
 				76B07E03B78EEC0C08320D0078A920DF /* Renderer.h */,
 				1940AFAFFCD2AD451F5C94F7120F4529 /* Renderer.m */,
-				A420D0E72CD7C41DD51B1B1CEB07BF47 /* Shaders */,
 			);
-			name = Renderer;
 			path = Renderer;
 			sourceTree = "<group>";
 		};
@@ -822,7 +795,6 @@
 				C3579EEF69634228A8DE81F027DAB926 /* LenzDataManager.m */,
 				218EEE1ACBE61B22A465592DD1CBF6E3 /* DBModels */,
 			);
-			name = DB;
 			path = DB;
 			sourceTree = "<group>";
 		};
@@ -852,7 +824,6 @@
 				2C872924427A13A04B486DAEA9D62FD1 /* Resources */,
 				E4DA4D425B00D273EE44FB33FC255002 /* Support Files */,
 			);
-			name = SVProgressHUD;
 			path = SVProgressHUD;
 			sourceTree = "<group>";
 		};
@@ -862,7 +833,6 @@
 				CADF850FF74C89AEA926B09C0E07C8E6 /* MoviePlayerViewController.h */,
 				5C1100ACDC0A5DDECABD3C889A867223 /* MoviePlayerViewController.m */,
 			);
-			name = MoviePlayerViewController;
 			path = MoviePlayerViewController;
 			sourceTree = "<group>";
 		};
@@ -872,7 +842,6 @@
 				7189B9B5B46972A794BBD7DA208D7B29 /* BaseViewTapGestureDelegate.h */,
 				E324CBC5B1CD1D81F9DDBFE9466A1E97 /* BaseViewTapGestureDelegate.m */,
 			);
-			name = GestureHandler;
 			path = GestureHandler;
 			sourceTree = "<group>";
 		};
@@ -898,7 +867,6 @@
 				6D62B02E7EF69B17AB7FAC2297364E42 /* PhotoCell.m */,
 				D98C5C12F052EAD529EC9EEFE493EFAE /* PhotoCell.xib */,
 			);
-			name = CollectionViewCell;
 			path = CollectionViewCell;
 			sourceTree = "<group>";
 		};
@@ -908,7 +876,6 @@
 				2F5CFD310DE3E3F4309E4692E5FDC2CC /* UIColor+JKAdd.h */,
 				C7465AD2ADA3BF7068CBAADEC48297D2 /* UIColor+JKAdd.m */,
 			);
-			name = color;
 			path = color;
 			sourceTree = "<group>";
 		};
@@ -928,7 +895,6 @@
 				DF7346F194B062427E1A91DFFE462DC2 /* TensorFlowWrapper.h */,
 				825C6FB76FE50D59AB05CDE39C679926 /* TensorFlowWrapper.m */,
 			);
-			name = TensorFlow;
 			path = TensorFlow;
 			sourceTree = "<group>";
 		};
@@ -946,16 +912,6 @@
 			path = LenzCameraNativeModuleForRN/Classes/headers;
 			sourceTree = "<group>";
 		};
-		A420D0E72CD7C41DD51B1B1CEB07BF47 /* Shaders */ = {
-			isa = PBXGroup;
-			children = (
-				BDA9F250AB98999CB591E8E8EBC94C04 /* LenzCommon.h */,
-				F586AE2DD1FB03ED19CD3340751A6076 /* Shaders.metal */,
-			);
-			name = Shaders;
-			path = Shaders;
-			sourceTree = "<group>";
-		};
 		A690EA949F27E276C70C3169BD23C386 /* Support Files */ = {
 			isa = PBXGroup;
 			children = (
@@ -999,7 +955,6 @@
 				985EAF70F969BDAB6658282A9B5C28A8 /* ViewController+MASAdditions.m */,
 				5C16A90ADF4B57DA7B3C6478488E42A5 /* Support Files */,
 			);
-			name = Masonry;
 			path = Masonry;
 			sourceTree = "<group>";
 		};
@@ -1009,7 +964,6 @@
 				AA5F0F34AD32861B4BC13AED5EE46AA1 /* CameraManager.h */,
 				484E9323B660E1E311FCC858BDAD79F6 /* CameraManager.m */,
 			);
-			name = CameraManager;
 			path = CameraManager;
 			sourceTree = "<group>";
 		};
@@ -1019,7 +973,6 @@
 				D12E4829C2EE389259BF9E03BFC03299 /* Frameworks */,
 				8FA76A2270D150C57C13ECEFD62CCFDF /* Support Files */,
 			);
-			name = TensorFlowLite;
 			path = TensorFlowLite;
 			sourceTree = "<group>";
 		};
@@ -1049,7 +1002,6 @@
 				1731637964133344C91C981FFF1C0CD5 /* Cell */,
 				7ADD985782C977225309D47C5E6E121D /* CollectionViewCell */,
 			);
-			name = PhotoListController;
 			path = PhotoListController;
 			sourceTree = "<group>";
 		};
@@ -1063,7 +1015,6 @@
 				65E6552F443DE1F9C6A71EB124AE43D8 /* VerticalButton.h */,
 				ECF16AD4550E44A71FF0CCCFE0A2135B /* VerticalButton.m */,
 			);
-			name = Button;
 			path = Button;
 			sourceTree = "<group>";
 		};
@@ -1073,7 +1024,6 @@
 				D26B0FB3B3AA94572958C88C41C7FB55 /* PCSModeList.h */,
 				6DE30B6B31980946761C9D5293B4941D /* PCSModeList.m */,
 			);
-			name = ModeListView;
 			path = ModeListView;
 			sourceTree = "<group>";
 		};
@@ -1100,7 +1050,6 @@
 				41170107A2FDBF1229F0526276F6ECF5 /* UIView+JKAdd.h */,
 				19E6F84B2A0BD0B98160C9D203A66A14 /* UIView+JKAdd.m */,
 			);
-			name = "UIView+tool";
 			path = "UIView+tool";
 			sourceTree = "<group>";
 		};
@@ -1175,7 +1124,6 @@
 				9C4CBCA4D29B03564BBDBC5F5C01D93C /* PanoramaGuideView.h */,
 				642B6533196B118EC2A42532AAB9F790 /* PanoramaGuideView.m */,
 			);
-			name = PanoramaGuideView;
 			path = PanoramaGuideView;
 			sourceTree = "<group>";
 		};
@@ -1233,7 +1181,6 @@
 				19B60C5ED970E0BD7B87C59D44EF8103 /* YYTextWeakProxy.m */,
 				B77BEFA4F143EAEB178F917647E8AEAD /* Support Files */,
 			);
-			name = YYText;
 			path = YYText;
 			sourceTree = "<group>";
 		};
@@ -1243,7 +1190,6 @@
 				46C88FEA97AD035600FD104BF0FB899F /* ImageCacheLRU.h */,
 				EFA78D74D65C7A2CFC756FE18A5145D0 /* ImageCacheLRU.m */,
 			);
-			name = LRU;
 			path = LRU;
 			sourceTree = "<group>";
 		};
@@ -1275,7 +1221,6 @@
 				DD29E953FEFC5715DE8B2B1EC7C73649 /* OperationNodeVideoBase.m */,
 				222BAAC3C262CFBF90008035A1C8A63D /* PCSMotionManager */,
 			);
-			name = OperationNode;
 			path = OperationNode;
 			sourceTree = "<group>";
 		};
@@ -1321,7 +1266,6 @@
 				0E7B9B60DC5DA0C2A4034A2EA0B26677 /* LenzCachedResourceModel.h in Headers */,
 				3E6ED86721A1F011A450B6E96F7ED43F /* LenzCameraNativeModuleForRN.h in Headers */,
 				408CDF664EB44439BA50971F116EEF58 /* LenzCameraSDK.h in Headers */,
-				6A162316CAEA8379A5DD1408C9F4C104 /* LenzCommon.h in Headers */,
 				A4FB9BCC0BADD6545BCA0BC764F55B67 /* LenzDataManager.h in Headers */,
 				27C458144190E14D027C6F53A23B28AF /* LenzHeader.h in Headers */,
 				DB7BC0757DFC6D9D66ACEFE8B218F6FC /* LenzSDKConstant.h in Headers */,
@@ -1649,7 +1593,6 @@
 				068F7D34728422B2B5C9C30E58BD7C52 /* CustomModalViewTransition.m in Sources */,
 				F5D086A3E8F39A21E5A535FD3EF1E033 /* DBManager.m in Sources */,
 				1AD187D9AC6E811D7CF9781BF8CFAEF6 /* ImageCacheLRU.m in Sources */,
-				62D4C11F440C4A96585B6703AF77C5E1 /* lenz_stitcher.a in Sources */,
 				573FF3E20326AF5E9D1AE2968368330A /* LenzCachedResourceModel.m in Sources */,
 				6A93F1139D51CC7E5577AA5F665F7EDA /* LenzCameraSDK.m in Sources */,
 				D8D33FC10F5A2BF9DB0339F2A8FCE329 /* LenzDataManager.m in Sources */,
@@ -1691,7 +1634,6 @@
 				F085F277FB366D548502D3F71267B7CF /* QuitMultipleModeAlertViewController.xib in Sources */,
 				C000CDC3A8FF69AABFF235DAC9269EAF /* Renderer.m in Sources */,
 				B3FFCFD840E2AEE76BAC47A84F274B28 /* SDKParameters.m in Sources */,
-				C690F7D6ACD090EC597507C9BF8C96D3 /* Shaders.metal in Sources */,
 				6E64879D6211004843DE58AC87B45C56 /* TensorFlowWrapper.m in Sources */,
 				ACA6E96B3FC57BC074B759897E0FC15D /* TimerLabel.m in Sources */,
 				B5DEC04ABA0617E937918AF345E611EA /* UIButton+Layout.m in Sources */,
@@ -2101,8 +2043,7 @@
 				MTL_FAST_MATH = YES;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				STRIP_INSTALLED_PRODUCT = NO;
-				SWIFT_COMPILATION_MODE = wholemodule;
-				SWIFT_OPTIMIZATION_LEVEL = "-O";
+				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_VERSION = 5.0;
 				SYMROOT = "${SRCROOT}/../build";
 			};

+ 1 - 4
LenzCameraNativeModuleForRN/Classes/inner/Renderer/CameraTextureRenderPass.m

@@ -8,7 +8,6 @@
 #import "CameraTextureRenderPass.h"
 #import <MetalKit/MetalKit.h>
 #import "Renderer.h"
-#import "LenzCommon.h"
 #import "TensorFlowWrapper.h"
 #import "PCSTools.h"
 
@@ -95,9 +94,7 @@
     }
     
     [renderEncoder setRenderPipelineState:self.pipelineStateObject];
-    @synchronized (self){
-        [renderEncoder setFragmentTexture:self.texture atIndex:CameraCapturedTexture];
-    }
+
     [renderEncoder drawPrimitives:MTLPrimitiveTypeTriangleStrip vertexStart:0 vertexCount:4];
     [renderEncoder endEncoding];
 }

+ 0 - 17
LenzCameraNativeModuleForRN/Classes/inner/Renderer/Shaders/LenzCommon.h

@@ -1,17 +0,0 @@
-//
-//  ShaderCommon.h
-//  LenzCameraNativeModuleForRN
-//
-//  Created by 王昭威 on 2023/1/26.
-//
-
-#ifndef Common_h
-#define Common_h
-
-#import <simd/simd.h>
-
-typedef enum {
-    CameraCapturedTexture,
-} TextureBufferIndices;
-
-#endif /* ShaderCommon_h */

+ 0 - 51
LenzCameraNativeModuleForRN/Classes/inner/Renderer/Shaders/Shaders.metal

@@ -1,51 +0,0 @@
-//
-//  Shaders.metal
-//  LenzCameraNativeModuleForRN
-//
-//  Created by 王昭威 on 2023/1/26.
-//
-
-#include "LenzCommon.h"
-#include <metal_stdlib>
-
-using namespace metal;
-
-typedef struct{
-//    float3 position [[attribute]];
-}VertextIn;
-
-typedef struct{
-    float4 position [[position]];
-    float2 uv;
-}VertextOut;
-
-
-vertex VertextOut vert_main(uint vertId [[vertex_id]]){
-    float4x4 vertices = float4x4(
-                                 float4( -1.0, -1.0, 0.0, 1.0 ),
-                                 float4(  1.0, -1.0, 0.0, 1.0 ),
-                                 float4( -1.0,  1.0, 0.0, 1.0 ),
-                                 float4(  1.0,  1.0, 0.0, 1.0 )
-                                 );
-    
-    float4x2 uvs = float4x2(
-                            float2( 0.0, 1.0 ),
-                            float2( 1.0, 1.0 ),
-                            float2( 0.0, 0.0 ),
-                            float2( 1.0, 0.0 )
-                            );
-    
-    return VertextOut{
-        .position = vertices[vertId],
-        .uv = uvs[vertId],
-    };
-}
-
-fragment half4 frag_main(VertextOut in [[stage_in]], texture2d<float> texture [[texture(CameraCapturedTexture)]]){
-    sampler s = sampler(address::clamp_to_edge,
-                        filter::linear);
-    if(is_null_texture(texture)){
-        return half4(0, 0, 0, 1);
-    }
-    return half4(texture.sample(s, in.uv));
-}

BIN
LenzCameraNativeModuleForRN/Classes/inner/lib/lenz_stitcher.a


+ 1 - 1
LenzSDK.podspec

@@ -8,7 +8,7 @@
 
 Pod::Spec.new do |s|
   s.name             = 'LenzSDK'
-  s.version          = '1.0.8'
+  s.version          = '1.0.9'
   s.summary          = 'A short description of LenzSDK.'
 
 # This description is used to generate tags and improve search results.