From bc1c283b4718eb335b4118af7be4136c35a9069c Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Fri, 26 Jul 2019 18:15:51 +0800 Subject: [PATCH] iOS module config --- iOS/Doric.podspec | 3 +- iOS/Example/Example.xcodeproj/project.pbxproj | 7 + .../xcshareddata/xcschemes/Example.xcscheme | 111 +++++++++++ iOS/Example/Example/ViewController.m | 18 +- iOS/Example/Podfile.lock | 2 +- .../Pods/Local Podspecs/Doric.podspec.json | 2 +- iOS/Example/Pods/Manifest.lock | 2 +- .../Pods/Pods.xcodeproj/project.pbxproj | 183 ++++++++++-------- .../Pods-Example/Pods-Example-resources.sh | 8 + iOS/Pod/Assets/doric-lib.js | 1 + iOS/Pod/Assets/doric-sandbox.js | 1 + iOS/Pod/Classes/DoricJSEngine.m | 3 + 12 files changed, 242 insertions(+), 99 deletions(-) create mode 100644 iOS/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme create mode 120000 iOS/Pod/Assets/doric-lib.js create mode 120000 iOS/Pod/Assets/doric-sandbox.js diff --git a/iOS/Doric.podspec b/iOS/Doric.podspec index 08a09ce5..36abae7b 100644 --- a/iOS/Doric.podspec +++ b/iOS/Doric.podspec @@ -31,7 +31,8 @@ TODO: Add long description of the pod here. s.ios.deployment_target = '8.0' s.source_files = 'Pod/Classes/**/*' - s.resource = "Pod/Assets/*.js" + #s.resource = "../js-framework/bundle/*.js" + s.resource = "Pod/Assets/**/*" # s.resource_bundles = { # 'Doric' => ['Doric/Assets/*.png'] # } diff --git a/iOS/Example/Example.xcodeproj/project.pbxproj b/iOS/Example/Example.xcodeproj/project.pbxproj index cd1f428e..7bde339a 100644 --- a/iOS/Example/Example.xcodeproj/project.pbxproj +++ b/iOS/Example/Example.xcodeproj/project.pbxproj @@ -419,11 +419,16 @@ inputFileListPaths = ( ); inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh", + "${PODS_ROOT}/../../Pod/Assets/doric-lib.js", + "${PODS_ROOT}/../../Pod/Assets/doric-sandbox.js", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( ); outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/doric-lib.js", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/doric-sandbox.js", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -669,6 +674,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 7EE2RX3L3P; INFOPLIST_FILE = Example/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -686,6 +692,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 7EE2RX3L3P; INFOPLIST_FILE = Example/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", diff --git a/iOS/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/iOS/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme new file mode 100644 index 00000000..bbb277e8 --- /dev/null +++ b/iOS/Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iOS/Example/Example/ViewController.m b/iOS/Example/Example/ViewController.m index 89da229e..b6ffe10a 100644 --- a/iOS/Example/Example/ViewController.m +++ b/iOS/Example/Example/ViewController.m @@ -26,15 +26,15 @@ - (void)viewDidLoad { label.centerX = self.view.width/2; label.centerY = self.view.height/2; [self.view addSubview:label]; - DoricJSCoreExecutor *jse = [[DoricJSCoreExecutor alloc] init]; - @try{ - NSString *ret = [jse loadJSScript:@"typef Reflect" source:@"test"]; - NSLog(@"js result %@", ret); - }@catch(NSException *e){ - NSLog(@"catch Exception: %@,reason is %@",e.name,e.reason); - } - DoricLog(@"%@",@"testxxxxx"); - DoricLog(@"test2rwr"); +// DoricJSCoreExecutor *jse = [[DoricJSCoreExecutor alloc] init]; +// @try{ +// NSString *ret = [jse loadJSScript:@"typef Reflect" source:@"test"]; +// NSLog(@"js result %@", ret); +// }@catch(NSException *e){ +// NSLog(@"catch Exception: %@,reason is %@",e.name,e.reason); +// } +// DoricLog(@"%@",@"testxxxxx"); +// DoricLog(@"test2rwr"); DoricJSEngine *jsengine = [[DoricJSEngine alloc] init]; } diff --git a/iOS/Example/Podfile.lock b/iOS/Example/Podfile.lock index e4b93732..4ffab335 100644 --- a/iOS/Example/Podfile.lock +++ b/iOS/Example/Podfile.lock @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - Doric: c188883bf1a470b34161319be05378fc3db1ef10 + Doric: a407e9d834e48de2465c21719f37d5f827ebb289 PODFILE CHECKSUM: 012563d71439e7e33e976dca3b59664ed56cee39 diff --git a/iOS/Example/Pods/Local Podspecs/Doric.podspec.json b/iOS/Example/Pods/Local Podspecs/Doric.podspec.json index bbc2b54d..8726c4fa 100644 --- a/iOS/Example/Pods/Local Podspecs/Doric.podspec.json +++ b/iOS/Example/Pods/Local Podspecs/Doric.podspec.json @@ -19,6 +19,6 @@ "ios": "8.0" }, "source_files": "Pod/Classes/**/*", - "resources": "Pod/Assets/*.js", + "resources": "Pod/Assets/**/*", "public_header_files": "Pod/Classes/**/*.h" } diff --git a/iOS/Example/Pods/Manifest.lock b/iOS/Example/Pods/Manifest.lock index e4b93732..4ffab335 100644 --- a/iOS/Example/Pods/Manifest.lock +++ b/iOS/Example/Pods/Manifest.lock @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - Doric: c188883bf1a470b34161319be05378fc3db1ef10 + Doric: a407e9d834e48de2465c21719f37d5f827ebb289 PODFILE CHECKSUM: 012563d71439e7e33e976dca3b59664ed56cee39 diff --git a/iOS/Example/Pods/Pods.xcodeproj/project.pbxproj b/iOS/Example/Pods/Pods.xcodeproj/project.pbxproj index 2abcad88..52854afb 100644 --- a/iOS/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/iOS/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,27 +7,27 @@ objects = { /* Begin PBXBuildFile section */ - 0089246B27871087C8DE82B1BC82D044 /* DoricConstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D88BA8866CCC65462FBB519706EE54C /* DoricConstant.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 0F4A2886066F1072A81A4F6EEFCC37AF /* DoricConstant.m in Sources */ = {isa = PBXBuildFile; fileRef = BA282AF907D4D3E887E64FF9D16D2489 /* DoricConstant.m */; }; - 1155DEDC9971BA41D868E7A245185350 /* DoricContext.m in Sources */ = {isa = PBXBuildFile; fileRef = AE472CC179719DBA95E63FCEE634E6BC /* DoricContext.m */; }; + 0089246B27871087C8DE82B1BC82D044 /* DoricConstant.h in Headers */ = {isa = PBXBuildFile; fileRef = E41EBD8D59933A885BB94E01011EB545 /* DoricConstant.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 0F4A2886066F1072A81A4F6EEFCC37AF /* DoricConstant.m in Sources */ = {isa = PBXBuildFile; fileRef = 54EF0D0811645912A80D9BE54840DB22 /* DoricConstant.m */; }; + 1155DEDC9971BA41D868E7A245185350 /* DoricContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C469523C0DD906639BF7C510121202D /* DoricContext.m */; }; 1A647CADF58112057EEE78DDEDF36FCB /* Pods-ExampleUITests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4552DFC8FC2E3B5E34ECA08D5890844E /* Pods-ExampleUITests-dummy.m */; }; - 20CDF487D770E5359E97E4328533B506 /* DoricUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = DC194491AD4293361C6B13D385A4FE6F /* DoricUtil.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 20CDF487D770E5359E97E4328533B506 /* DoricUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A3D903F4CA5F92E501307A29E952702 /* DoricUtil.h */; settings = {ATTRIBUTES = (Project, ); }; }; 284799F0E725D903C373F72F3133F620 /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F53C7E53C548173948E138F5EAAC9B7 /* Pods-Example-dummy.m */; }; - 3A2CEC0F830D08F552F31B2D2EDE99A1 /* DoricJSEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 47A3B5C9AE186E8D257A117113443A62 /* DoricJSEngine.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 4164A58E00FC22DE4610C185F75ADE81 /* DoricJSCoreExecutor.h in Headers */ = {isa = PBXBuildFile; fileRef = B51C4D3ACE9F17635BCA6EF19AA30AFA /* DoricJSCoreExecutor.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 3A2CEC0F830D08F552F31B2D2EDE99A1 /* DoricJSEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 656FC3C535D4F4939D7E5E40FAB624DF /* DoricJSEngine.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 4164A58E00FC22DE4610C185F75ADE81 /* DoricJSCoreExecutor.h in Headers */ = {isa = PBXBuildFile; fileRef = 2B43D47801E79EA347069F6096FF81EE /* DoricJSCoreExecutor.h */; settings = {ATTRIBUTES = (Project, ); }; }; 47760758FAE8B89D52E95BE946B53B85 /* Pods-ExampleTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 51DA648ED8D0D483360D5BA602654A61 /* Pods-ExampleTests-dummy.m */; }; - 5F8E083F93014CAEEB6B55C0B886FFFE /* DoricAsyncResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 3242505F6D6CF525FC48DCB58FDBB24F /* DoricAsyncResult.m */; }; - 6F62A22EF4693459554A63ECDFADBA7F /* UIView+Doric.m in Sources */ = {isa = PBXBuildFile; fileRef = C16CF0A4BC437F03D5D6BFDB67691869 /* UIView+Doric.m */; }; - 840457CD5D617D70B1A4B1C2E78BBC0B /* UIView+Doric.h in Headers */ = {isa = PBXBuildFile; fileRef = 0DDDB0811EAA632C6E5456CB975CBC98 /* UIView+Doric.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 84821CCC63BDD4160238B816A874F014 /* DoricJSCoreExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = D8A9927194503ABEEDA14551B38F9ED2 /* DoricJSCoreExecutor.m */; }; - 89670F75E4BDAFEE7DBB7FA197D25507 /* DoricAsyncResult.h in Headers */ = {isa = PBXBuildFile; fileRef = BCA2B4EE41F55EA388E2C63A291A9729 /* DoricAsyncResult.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 9D9461B8352CAEF085BAAC2114B25D36 /* DoricDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 9888B317FA2E31B5C92CD43F0AB833A6 /* DoricDriver.h */; settings = {ATTRIBUTES = (Project, ); }; }; - B57034BE55DEE9B55C4C9BF921D99967 /* Doric-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 83B376D60191860AE5E996FD48B3E06C /* Doric-dummy.m */; }; - B8AC2DA040586E5D614876F50F223EC8 /* DoricJSExecutorProtocal.h in Headers */ = {isa = PBXBuildFile; fileRef = F3042AE3FC90EE0A9D5463F1BA030440 /* DoricJSExecutorProtocal.h */; settings = {ATTRIBUTES = (Project, ); }; }; - CAE973C80A6F8B73AC7B2B58B1DA9242 /* DoricContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FA55C02CF2BA1C8EA4CB582BC211C18 /* DoricContext.h */; settings = {ATTRIBUTES = (Project, ); }; }; - E40FE265F0ED76E294C1ACB63899ADC8 /* DoricJSEngine.m in Sources */ = {isa = PBXBuildFile; fileRef = 7EFBAA71377544155F4B74128B3543CA /* DoricJSEngine.m */; }; - ED2B543BB86386916C43CF3B284105EC /* DoricUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 92800E02F8DFBD20C9450D69413BF353 /* DoricUtil.m */; }; - F8ECFFD0E8CEBD16B7DA3E2F385F19C4 /* DoricDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = C64F26A86BA96BB1D2155CD8B06041B6 /* DoricDriver.m */; }; + 5F8E083F93014CAEEB6B55C0B886FFFE /* DoricAsyncResult.m in Sources */ = {isa = PBXBuildFile; fileRef = BD770BAB0A9E166EFE9BD539861C61A4 /* DoricAsyncResult.m */; }; + 6F62A22EF4693459554A63ECDFADBA7F /* UIView+Doric.m in Sources */ = {isa = PBXBuildFile; fileRef = 270A8905851CB01E364A822BF5720097 /* UIView+Doric.m */; }; + 840457CD5D617D70B1A4B1C2E78BBC0B /* UIView+Doric.h in Headers */ = {isa = PBXBuildFile; fileRef = 4880EA043029DF87BE67C3E7669B4412 /* UIView+Doric.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 84821CCC63BDD4160238B816A874F014 /* DoricJSCoreExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 30F58FCDCD69166AFB88DB6BB81C5B74 /* DoricJSCoreExecutor.m */; }; + 89670F75E4BDAFEE7DBB7FA197D25507 /* DoricAsyncResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 884C9C49846B351D14CFD451A90A637A /* DoricAsyncResult.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 9D9461B8352CAEF085BAAC2114B25D36 /* DoricDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = B6943780789BF540F752C3AB4F6DB497 /* DoricDriver.h */; settings = {ATTRIBUTES = (Project, ); }; }; + B57034BE55DEE9B55C4C9BF921D99967 /* Doric-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EC6138DF4D0CCDA763A837879D82B21 /* Doric-dummy.m */; }; + B8AC2DA040586E5D614876F50F223EC8 /* DoricJSExecutorProtocal.h in Headers */ = {isa = PBXBuildFile; fileRef = 9B5109634E1EDD7CCA6C9494DB41FCFE /* DoricJSExecutorProtocal.h */; settings = {ATTRIBUTES = (Project, ); }; }; + CAE973C80A6F8B73AC7B2B58B1DA9242 /* DoricContext.h in Headers */ = {isa = PBXBuildFile; fileRef = D98DA21439683EA92A2C7A487E3338B2 /* DoricContext.h */; settings = {ATTRIBUTES = (Project, ); }; }; + E40FE265F0ED76E294C1ACB63899ADC8 /* DoricJSEngine.m in Sources */ = {isa = PBXBuildFile; fileRef = AA2D574F8AAD7BA2AD586ECB6964327D /* DoricJSEngine.m */; }; + ED2B543BB86386916C43CF3B284105EC /* DoricUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F225C554376A7CBB964607E9336BEBB /* DoricUtil.m */; }; + F8ECFFD0E8CEBD16B7DA3E2F385F19C4 /* DoricDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 08C49F41751A32F2B83AA2D08BC81DEE /* DoricDriver.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -42,53 +42,55 @@ /* Begin PBXFileReference section */ 01A1F6852D87DC53BCB1B6B6FE7EECF1 /* Pods-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExampleTests.release.xcconfig"; sourceTree = ""; }; - 0CCC4486F64D26B3F19BA6A63DBD2A33 /* libPods-ExampleUITests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ExampleUITests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 0DDDB0811EAA632C6E5456CB975CBC98 /* UIView+Doric.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+Doric.h"; path = "Pod/Classes/UIView+Doric.h"; sourceTree = ""; }; - 0FA55C02CF2BA1C8EA4CB582BC211C18 /* DoricContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricContext.h; path = Pod/Classes/DoricContext.h; sourceTree = ""; }; - 12B878F1FD71B60D653F0F5A783CA95A /* libPods-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 192AE18287322BEEE32E2B90807CD2D4 /* libDoric.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libDoric.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 08C49F41751A32F2B83AA2D08BC81DEE /* DoricDriver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricDriver.m; path = Pod/Classes/DoricDriver.m; sourceTree = ""; }; + 0CCC4486F64D26B3F19BA6A63DBD2A33 /* libPods-ExampleUITests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-ExampleUITests.a"; path = "libPods-ExampleUITests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 12B878F1FD71B60D653F0F5A783CA95A /* libPods-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-ExampleTests.a"; path = "libPods-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 192AE18287322BEEE32E2B90807CD2D4 /* libDoric.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libDoric.a; path = libDoric.a; sourceTree = BUILT_PRODUCTS_DIR; }; 1E76E67CCA8332986E95E78670B68A7E /* Pods-ExampleUITests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExampleUITests-frameworks.sh"; sourceTree = ""; }; - 24390EFD555DD124430DFF9724065945 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 3242505F6D6CF525FC48DCB58FDBB24F /* DoricAsyncResult.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricAsyncResult.m; path = Pod/Classes/DoricAsyncResult.m; sourceTree = ""; }; + 24390EFD555DD124430DFF9724065945 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 270A8905851CB01E364A822BF5720097 /* UIView+Doric.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+Doric.m"; path = "Pod/Classes/UIView+Doric.m"; sourceTree = ""; }; + 2B43D47801E79EA347069F6096FF81EE /* DoricJSCoreExecutor.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricJSCoreExecutor.h; path = Pod/Classes/DoricJSCoreExecutor.h; sourceTree = ""; }; + 2EC6138DF4D0CCDA763A837879D82B21 /* Doric-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Doric-dummy.m"; sourceTree = ""; }; + 30F58FCDCD69166AFB88DB6BB81C5B74 /* DoricJSCoreExecutor.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricJSCoreExecutor.m; path = Pod/Classes/DoricJSCoreExecutor.m; sourceTree = ""; }; 32F7499F26C2F8871011055318451503 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.release.xcconfig"; sourceTree = ""; }; 352BB69BD445911D67E242A3CB6D7298 /* Pods-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExampleTests.debug.xcconfig"; sourceTree = ""; }; - 38AE1F4549532393840E0AFBBF624C51 /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 38AE1F4549532393840E0AFBBF624C51 /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Example.a"; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3A3D903F4CA5F92E501307A29E952702 /* DoricUtil.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricUtil.h; path = Pod/Classes/DoricUtil.h; sourceTree = ""; }; 3DA6C06795DC0A5CCE08FE0A93490213 /* Pods-ExampleTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ExampleTests-acknowledgements.markdown"; sourceTree = ""; }; 4552DFC8FC2E3B5E34ECA08D5890844E /* Pods-ExampleUITests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ExampleUITests-dummy.m"; sourceTree = ""; }; - 47A3B5C9AE186E8D257A117113443A62 /* DoricJSEngine.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricJSEngine.h; path = Pod/Classes/DoricJSEngine.h; sourceTree = ""; }; + 4829FA164A6ADDDBAB231E26F5107EF7 /* Doric.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Doric.xcconfig; sourceTree = ""; }; + 4880EA043029DF87BE67C3E7669B4412 /* UIView+Doric.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+Doric.h"; path = "Pod/Classes/UIView+Doric.h"; sourceTree = ""; }; 4A2C01971EED68EB1AC43E54FE0FF4BF /* Pods-ExampleTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ExampleTests-acknowledgements.plist"; sourceTree = ""; }; 4F53C7E53C548173948E138F5EAAC9B7 /* Pods-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Example-dummy.m"; sourceTree = ""; }; 518BFC36C6DDA143C2924A9DF620156F /* Pods-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-acknowledgements.plist"; sourceTree = ""; }; 51DA648ED8D0D483360D5BA602654A61 /* Pods-ExampleTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ExampleTests-dummy.m"; sourceTree = ""; }; - 53FE6D017DB4C60D30CFAC0A0E38EEF1 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + 54EF0D0811645912A80D9BE54840DB22 /* DoricConstant.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricConstant.m; path = Pod/Classes/DoricConstant.m; sourceTree = ""; }; 5D74D99FC589B7AE9B1061880AF0AAF2 /* Pods-ExampleUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExampleUITests.release.xcconfig"; sourceTree = ""; }; - 69B74451241AAE498CE36C4282696E6A /* Doric.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = Doric.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 7EFBAA71377544155F4B74128B3543CA /* DoricJSEngine.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricJSEngine.m; path = Pod/Classes/DoricJSEngine.m; sourceTree = ""; }; - 83B376D60191860AE5E996FD48B3E06C /* Doric-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Doric-dummy.m"; sourceTree = ""; }; + 62B899189A43C49EBED550D0672A48F2 /* Doric-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Doric-prefix.pch"; sourceTree = ""; }; + 6357FB0C946D5166463E9F1CEF8A576B /* doric-lib.js */ = {isa = PBXFileReference; includeInIndex = 1; name = "doric-lib.js"; path = "../js-framework/bundle/doric-lib.js"; sourceTree = ""; }; + 656FC3C535D4F4939D7E5E40FAB624DF /* DoricJSEngine.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricJSEngine.h; path = Pod/Classes/DoricJSEngine.h; sourceTree = ""; }; + 6F225C554376A7CBB964607E9336BEBB /* DoricUtil.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricUtil.m; path = Pod/Classes/DoricUtil.m; sourceTree = ""; }; + 836ACE174A8A194DACA651897B122F9E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 83F27F62D3570DD3EED7EDC698B39673 /* Pods-ExampleUITests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ExampleUITests-acknowledgements.plist"; sourceTree = ""; }; + 884C9C49846B351D14CFD451A90A637A /* DoricAsyncResult.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricAsyncResult.h; path = Pod/Classes/DoricAsyncResult.h; sourceTree = ""; }; 8908E207FAF96E979F6B81FE964B66E4 /* Pods-ExampleTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExampleTests-resources.sh"; sourceTree = ""; }; - 92800E02F8DFBD20C9450D69413BF353 /* DoricUtil.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricUtil.m; path = Pod/Classes/DoricUtil.m; sourceTree = ""; }; 93B86D9B8CC9EE4710A7EAC45E2B40AF /* Pods-ExampleUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExampleUITests.debug.xcconfig"; sourceTree = ""; }; - 9888B317FA2E31B5C92CD43F0AB833A6 /* DoricDriver.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricDriver.h; path = Pod/Classes/DoricDriver.h; sourceTree = ""; }; - 9BC432B2ED8483F7C5A09DEC5158E9DB /* Doric-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Doric-prefix.pch"; sourceTree = ""; }; - 9D88BA8866CCC65462FBB519706EE54C /* DoricConstant.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricConstant.h; path = Pod/Classes/DoricConstant.h; sourceTree = ""; }; + 9B5109634E1EDD7CCA6C9494DB41FCFE /* DoricJSExecutorProtocal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricJSExecutorProtocal.h; path = Pod/Classes/DoricJSExecutorProtocal.h; sourceTree = ""; }; + 9C469523C0DD906639BF7C510121202D /* DoricContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricContext.m; path = Pod/Classes/DoricContext.m; sourceTree = ""; }; A3C87156B34E44AF7BC940F794A3EEE0 /* Pods-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Example-acknowledgements.markdown"; sourceTree = ""; }; A7C069247E2F891CB6A5AE5543BC4C8B /* Pods-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Example-frameworks.sh"; sourceTree = ""; }; - AE472CC179719DBA95E63FCEE634E6BC /* DoricContext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricContext.m; path = Pod/Classes/DoricContext.m; sourceTree = ""; }; + AA2D574F8AAD7BA2AD586ECB6964327D /* DoricJSEngine.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricJSEngine.m; path = Pod/Classes/DoricJSEngine.m; sourceTree = ""; }; AFAAF574DA9AD669899852EFBA99E10C /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.debug.xcconfig"; sourceTree = ""; }; - B51C4D3ACE9F17635BCA6EF19AA30AFA /* DoricJSCoreExecutor.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricJSCoreExecutor.h; path = Pod/Classes/DoricJSCoreExecutor.h; sourceTree = ""; }; - BA282AF907D4D3E887E64FF9D16D2489 /* DoricConstant.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricConstant.m; path = Pod/Classes/DoricConstant.m; sourceTree = ""; }; - BCA2B4EE41F55EA388E2C63A291A9729 /* DoricAsyncResult.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricAsyncResult.h; path = Pod/Classes/DoricAsyncResult.h; sourceTree = ""; }; - C16CF0A4BC437F03D5D6BFDB67691869 /* UIView+Doric.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+Doric.m"; path = "Pod/Classes/UIView+Doric.m"; sourceTree = ""; }; - C64F26A86BA96BB1D2155CD8B06041B6 /* DoricDriver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricDriver.m; path = Pod/Classes/DoricDriver.m; sourceTree = ""; }; + B6943780789BF540F752C3AB4F6DB497 /* DoricDriver.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricDriver.h; path = Pod/Classes/DoricDriver.h; sourceTree = ""; }; + BD770BAB0A9E166EFE9BD539861C61A4 /* DoricAsyncResult.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricAsyncResult.m; path = Pod/Classes/DoricAsyncResult.m; sourceTree = ""; }; CE1BBE6E92CA9DC3880D159CD803E553 /* Pods-ExampleUITests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExampleUITests-resources.sh"; sourceTree = ""; }; CF4462A66582B7755AF57D07F45E671E /* Pods-ExampleTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExampleTests-frameworks.sh"; sourceTree = ""; }; D291C334AF09BCAE4D49F304783DA69A /* Pods-ExampleUITests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ExampleUITests-acknowledgements.markdown"; sourceTree = ""; }; - D8A9927194503ABEEDA14551B38F9ED2 /* DoricJSCoreExecutor.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DoricJSCoreExecutor.m; path = Pod/Classes/DoricJSCoreExecutor.m; sourceTree = ""; }; - DC194491AD4293361C6B13D385A4FE6F /* DoricUtil.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricUtil.h; path = Pod/Classes/DoricUtil.h; sourceTree = ""; }; + D467AF31E3981F6857614F0CC8D898CF /* Doric.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = Doric.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + D98DA21439683EA92A2C7A487E3338B2 /* DoricContext.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricContext.h; path = Pod/Classes/DoricContext.h; sourceTree = ""; }; DCAAC1238554F9CC2D49D7D5165DF1A0 /* Pods-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Example-resources.sh"; sourceTree = ""; }; - E1F135CA7664D10A00E813F155D436E0 /* Doric.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Doric.xcconfig; sourceTree = ""; }; - F3042AE3FC90EE0A9D5463F1BA030440 /* DoricJSExecutorProtocal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricJSExecutorProtocal.h; path = Pod/Classes/DoricJSExecutorProtocal.h; sourceTree = ""; }; + E41EBD8D59933A885BB94E01011EB545 /* DoricConstant.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DoricConstant.h; path = Pod/Classes/DoricConstant.h; sourceTree = ""; }; + EA4D732C60249E5479820FFE4A427609 /* doric-sandbox.js */ = {isa = PBXFileReference; includeInIndex = 1; name = "doric-sandbox.js"; path = "../js-framework/bundle/doric-sandbox.js"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -123,17 +125,26 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 07A5F2758BFB4ABBDB5E4EF6C9C63C71 /* Support Files */ = { + 17D71624E89BA31338EF0C6597214F6D /* Support Files */ = { isa = PBXGroup; children = ( - E1F135CA7664D10A00E813F155D436E0 /* Doric.xcconfig */, - 83B376D60191860AE5E996FD48B3E06C /* Doric-dummy.m */, - 9BC432B2ED8483F7C5A09DEC5158E9DB /* Doric-prefix.pch */, + 4829FA164A6ADDDBAB231E26F5107EF7 /* Doric.xcconfig */, + 2EC6138DF4D0CCDA763A837879D82B21 /* Doric-dummy.m */, + 62B899189A43C49EBED550D0672A48F2 /* Doric-prefix.pch */, ); name = "Support Files"; path = "Example/Pods/Target Support Files/Doric"; sourceTree = ""; }; + 1ADB24ABCFA779B9C698B9DEC2234A47 /* Pod */ = { + isa = PBXGroup; + children = ( + D467AF31E3981F6857614F0CC8D898CF /* Doric.podspec */, + 836ACE174A8A194DACA651897B122F9E /* LICENSE */, + ); + name = Pod; + sourceTree = ""; + }; 2383BF80F17A300CD2E5E93425AB1DE5 /* Pods-ExampleUITests */ = { isa = PBXGroup; children = ( @@ -175,13 +186,13 @@ path = "Target Support Files/Pods-Example"; sourceTree = ""; }; - 7C7A5CAB180DF933F41EFBEF2A280B68 /* Pod */ = { + 753FDED22DDE4AE275AC649AAB32D2CC /* Resources */ = { isa = PBXGroup; children = ( - 69B74451241AAE498CE36C4282696E6A /* Doric.podspec */, - 53FE6D017DB4C60D30CFAC0A0E38EEF1 /* LICENSE */, + 6357FB0C946D5166463E9F1CEF8A576B /* doric-lib.js */, + EA4D732C60249E5479820FFE4A427609 /* doric-sandbox.js */, ); - name = Pod; + name = Resources; sourceTree = ""; }; 7C8BDF0846F1BDADA9ED62DC4B0BF6A6 /* Targets Support Files */ = { @@ -194,6 +205,34 @@ name = "Targets Support Files"; sourceTree = ""; }; + 9B05A63184036107574E17614BEC9EB1 /* Doric */ = { + isa = PBXGroup; + children = ( + 884C9C49846B351D14CFD451A90A637A /* DoricAsyncResult.h */, + BD770BAB0A9E166EFE9BD539861C61A4 /* DoricAsyncResult.m */, + E41EBD8D59933A885BB94E01011EB545 /* DoricConstant.h */, + 54EF0D0811645912A80D9BE54840DB22 /* DoricConstant.m */, + D98DA21439683EA92A2C7A487E3338B2 /* DoricContext.h */, + 9C469523C0DD906639BF7C510121202D /* DoricContext.m */, + B6943780789BF540F752C3AB4F6DB497 /* DoricDriver.h */, + 08C49F41751A32F2B83AA2D08BC81DEE /* DoricDriver.m */, + 2B43D47801E79EA347069F6096FF81EE /* DoricJSCoreExecutor.h */, + 30F58FCDCD69166AFB88DB6BB81C5B74 /* DoricJSCoreExecutor.m */, + 656FC3C535D4F4939D7E5E40FAB624DF /* DoricJSEngine.h */, + AA2D574F8AAD7BA2AD586ECB6964327D /* DoricJSEngine.m */, + 9B5109634E1EDD7CCA6C9494DB41FCFE /* DoricJSExecutorProtocal.h */, + 3A3D903F4CA5F92E501307A29E952702 /* DoricUtil.h */, + 6F225C554376A7CBB964607E9336BEBB /* DoricUtil.m */, + 4880EA043029DF87BE67C3E7669B4412 /* UIView+Doric.h */, + 270A8905851CB01E364A822BF5720097 /* UIView+Doric.m */, + 1ADB24ABCFA779B9C698B9DEC2234A47 /* Pod */, + 753FDED22DDE4AE275AC649AAB32D2CC /* Resources */, + 17D71624E89BA31338EF0C6597214F6D /* Support Files */, + ); + name = Doric; + path = ../..; + sourceTree = ""; + }; CE14EBF1165E6AA176DA9177C3B1C3FD /* Pods-ExampleTests */ = { isa = PBXGroup; children = ( @@ -213,7 +252,7 @@ isa = PBXGroup; children = ( 24390EFD555DD124430DFF9724065945 /* Podfile */, - FB8F81326DA239A34387E32F33106BEE /* Development Pods */, + E059370AA74361A31256E49BFE60A18C /* Development Pods */, D89477F20FB1DE18A04690586D7808C4 /* Frameworks */, 29D5F571358D2DB73A9BA656A4698F3A /* Products */, 7C8BDF0846F1BDADA9ED62DC4B0BF6A6 /* Targets Support Files */, @@ -227,41 +266,14 @@ name = Frameworks; sourceTree = ""; }; - FB8F81326DA239A34387E32F33106BEE /* Development Pods */ = { + E059370AA74361A31256E49BFE60A18C /* Development Pods */ = { isa = PBXGroup; children = ( - FCAFC63CCA4BDF7FF416D2B52243D00F /* Doric */, + 9B05A63184036107574E17614BEC9EB1 /* Doric */, ); name = "Development Pods"; sourceTree = ""; }; - FCAFC63CCA4BDF7FF416D2B52243D00F /* Doric */ = { - isa = PBXGroup; - children = ( - BCA2B4EE41F55EA388E2C63A291A9729 /* DoricAsyncResult.h */, - 3242505F6D6CF525FC48DCB58FDBB24F /* DoricAsyncResult.m */, - 9D88BA8866CCC65462FBB519706EE54C /* DoricConstant.h */, - BA282AF907D4D3E887E64FF9D16D2489 /* DoricConstant.m */, - 0FA55C02CF2BA1C8EA4CB582BC211C18 /* DoricContext.h */, - AE472CC179719DBA95E63FCEE634E6BC /* DoricContext.m */, - 9888B317FA2E31B5C92CD43F0AB833A6 /* DoricDriver.h */, - C64F26A86BA96BB1D2155CD8B06041B6 /* DoricDriver.m */, - B51C4D3ACE9F17635BCA6EF19AA30AFA /* DoricJSCoreExecutor.h */, - D8A9927194503ABEEDA14551B38F9ED2 /* DoricJSCoreExecutor.m */, - 47A3B5C9AE186E8D257A117113443A62 /* DoricJSEngine.h */, - 7EFBAA71377544155F4B74128B3543CA /* DoricJSEngine.m */, - F3042AE3FC90EE0A9D5463F1BA030440 /* DoricJSExecutorProtocal.h */, - DC194491AD4293361C6B13D385A4FE6F /* DoricUtil.h */, - 92800E02F8DFBD20C9450D69413BF353 /* DoricUtil.m */, - 0DDDB0811EAA632C6E5456CB975CBC98 /* UIView+Doric.h */, - C16CF0A4BC437F03D5D6BFDB67691869 /* UIView+Doric.m */, - 7C7A5CAB180DF933F41EFBEF2A280B68 /* Pod */, - 07A5F2758BFB4ABBDB5E4EF6C9C63C71 /* Support Files */, - ); - name = Doric; - path = ../..; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -389,7 +401,6 @@ hasScannedForEncodings = 0; knownRegions = ( en, - Base, ); mainGroup = CF1408CF629C7361332E53B88F7BD30C; productRefGroup = 29D5F571358D2DB73A9BA656A4698F3A /* Products */; @@ -502,7 +513,7 @@ }; 596F5FE35472F3CCF4DEAF32114CEB53 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E1F135CA7664D10A00E813F155D436E0 /* Doric.xcconfig */; + baseConfigurationReference = 4829FA164A6ADDDBAB231E26F5107EF7 /* Doric.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -632,7 +643,7 @@ }; B650299651AAACBB37C21DB5CBDC9031 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E1F135CA7664D10A00E813F155D436E0 /* Doric.xcconfig */; + baseConfigurationReference = 4829FA164A6ADDDBAB231E26F5107EF7 /* Doric.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; diff --git a/iOS/Example/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh b/iOS/Example/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh index a7df4405..76ee15b8 100755 --- a/iOS/Example/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh +++ b/iOS/Example/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh @@ -83,6 +83,14 @@ EOM ;; esac } +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_resource "${PODS_ROOT}/../../Pod/Assets/doric-lib.js" + install_resource "${PODS_ROOT}/../../Pod/Assets/doric-sandbox.js" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_resource "${PODS_ROOT}/../../Pod/Assets/doric-lib.js" + install_resource "${PODS_ROOT}/../../Pod/Assets/doric-sandbox.js" +fi mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" diff --git a/iOS/Pod/Assets/doric-lib.js b/iOS/Pod/Assets/doric-lib.js new file mode 120000 index 00000000..37913d0f --- /dev/null +++ b/iOS/Pod/Assets/doric-lib.js @@ -0,0 +1 @@ +../../../js-framework/bundle/doric-lib.js \ No newline at end of file diff --git a/iOS/Pod/Assets/doric-sandbox.js b/iOS/Pod/Assets/doric-sandbox.js new file mode 120000 index 00000000..f848b385 --- /dev/null +++ b/iOS/Pod/Assets/doric-sandbox.js @@ -0,0 +1 @@ +../../../js-framework/bundle/doric-sandbox.js \ No newline at end of file diff --git a/iOS/Pod/Classes/DoricJSEngine.m b/iOS/Pod/Classes/DoricJSEngine.m index 68e06e26..f4bd573a 100644 --- a/iOS/Pod/Classes/DoricJSEngine.m +++ b/iOS/Pod/Classes/DoricJSEngine.m @@ -37,6 +37,9 @@ -(void)initDoricEnvironment { [self.jsExecutor injectGlobalJSObject:INJECT_REQUIRE obj:^(NSString *name){ }]; + NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"doric-sandbox" ofType:@"js"]; + NSString *mainjs = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil]; + NSLog(@"read:%@",mainjs); [self.jsExecutor loadJSScript:@"nativeLog('w','log from js')" source:@""]; }