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