Comments (6)
@ParvinderjitSF thanks for the question! You can try using platform build overrides. Make the necessary changes in xcode and then add the files you need to change to your_project/appConfigs/base/builds/ios
.
from renative.
@ElenaDiachenko In that case can we automate the some parameters like bundle id, developer team and provisioning profile to the Target Extension from the renative.json file ? It will be helpful for us if you can share an example. We have to integrate two extension in the project. One is Watch Extension and other will be for Notification extension
from renative.
@ElenaDiachenko I have added the project file to the appconfigs/base. Now getting hard coded path error on different machine. Actually ReNative injecting absolute path to the project file which creating conflict on the different machine. Can you please suggest ?
from renative.
FYI I have made some changes to the XCodeParser in the SDK-apple in RNV. Now is supports multiple target. One just need to modify the renative.json file format a bit.
"xcodeproj": {
"sourceFiles": {
"RNVApp" : {
"useTargetNameForGroup" : true,
"sourceFiles": [
"RNVApp/RCTPermissionModule.h",
"RNVApp/RCTPermissionModule.m",
"RNVApp/RCTWatchPartyHandler.h",
"RNVApp/RCTWatchPartyHandler.m"
]
},
"WatchApp" : {
"useTargetNameForGroup" : true,
"sourceFiles" :[
"WatchApp/Bundle+Helper.swift",
"WatchApp/watchappApp.swift",
"WatchApp/ZoneCalculator.swift",
"WatchApp/ZoneView.swift"
],
"resourceFiles" : [
"WatchApp/WatchFontBold.otf",
"WatchApp/WatchFontMedium.otf",
"WatchApp/WatchFontRegular.otf"
]
}
}
}
I also need to add the base template into the appconfigs/base/build/ios with the modified xcodeproject file. I copied it from the template folder from the rnv node modules. Hope this could help you guys to have multiple template like watch, notification extension etc or you guys can have option to dynamically adding of these target with some custom scripts.
Hope this helps you guys to improve the RNV project. Thanks
project.xcworkspace.zip
xcodeParser.js.zip
from renative.
@ParvinderjitSF Thank you for your answer. Closing this issue now.
from renative.
Are you guys planning to integrate the solution in the ReNative project ?
from renative.
Related Issues (20)
- [kaios] no information about build location HOT 1
- [kaios] Rnv asks to pick simulator even default target is defined HOT 1
- Bug running npx rnv commands HOT 11
- [web] new project ts errors when running
- [windows] rnv link doesn't work
- [kaios] white blank screen when running on new project HOT 1
- [linux] rnv link breaks new project HOT 1
- [webos] webos cli 3.0 uses diffirent install location which is not recognized by rnv, rnv looks for cli in different location
- [kaios] Project doesn't open HOT 2
- Create new app config on app-harness in order to test if --ci option uses default config from renative.local.json
- [android, androidtv] `npx rnv run -p android -t non-existing IP:port` works differently on different OS HOT 3
- User needs to choose config twice when using -c option
- [ios] [REGRESSION] app-harness fails to run when debug-static-pods scheme is used HOT 2
- [tvos] not possible to see current focused button HOT 1
- [REGRESSION] commandExistsSync incorrectly returns false in some cases
- [REGRESSION] Single-platform integrations ask to pick a platform
- [REGRESSION] Integrations gives error for ios,tvos HOT 1
- [web] Running npx rnv start -p web dumps ts errors HOT 2
- [REGRESSION] templateAndroid child_value is not handled
- [WebOS] @reactNavigation createStackNavigator() causes crash on physical LG webos device but works on Simulator HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renative.