update template file
This commit is contained in:
parent
dc32cf08a8
commit
0067ccc0ef
@ -125,11 +125,12 @@ function initiOS(path, name) {
|
|||||||
'Example.xcodeproj/project.pbxproj',
|
'Example.xcodeproj/project.pbxproj',
|
||||||
'Podfile',
|
'Podfile',
|
||||||
].forEach(e => {
|
].forEach(e => {
|
||||||
fs.writeFileSync(`${pathq}/${e}`,
|
fs.writeFileSync(`${path}/${e}`,
|
||||||
fs.readFileSync(`${targetiOSPath}/${e}`).toString()
|
fs.readFileSync(`${targetiOSPath}/${e}`).toString()
|
||||||
.replace(/__\$__/g, name)
|
.replace(/__\$__/g, name)
|
||||||
.replace(/__\$Version__/g, currentVersion))
|
.replace(/__\$Version__/g, currentVersion))
|
||||||
})
|
})
|
||||||
|
fs.renameSync(`${path}/Example.xcodeproj`, `${path}/${name}.xcodeproj`)
|
||||||
console.log(`Create Doric iOS Project Success`)
|
console.log(`Create Doric iOS Project Success`)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -365,7 +365,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
DEVELOPMENT_TEAM = 7EE2RX3L3P;
|
DEVELOPMENT_TEAM = 7EE2RX3L3P;
|
||||||
INFOPLIST_FILE = Example/Info.plist;
|
INFOPLIST_FILE = "$(SRCROOT)/App/Info.plist";
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
@ -383,7 +383,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
DEVELOPMENT_TEAM = 7EE2RX3L3P;
|
DEVELOPMENT_TEAM = 7EE2RX3L3P;
|
||||||
INFOPLIST_FILE = Example/Info.plist;
|
INFOPLIST_FILE = "$(SRCROOT)/App/Info.plist";
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
source 'https://cdn.cocoapods.org/'
|
||||||
# Uncomment the next line to define a global platform for your project
|
# Uncomment the next line to define a global platform for your project
|
||||||
# platform :ios, '9.0'
|
# platform :ios, '9.0'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user