Giter Club home page Giter Club logo

Comments (4)

ElenaDiachenko avatar ElenaDiachenko commented on August 10, 2024

@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.

renative docs

from renative.

ParvinderjitSF avatar ParvinderjitSF commented on August 10, 2024

@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.

ParvinderjitSF avatar ParvinderjitSF commented on August 10, 2024

@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.

ParvinderjitSF avatar ParvinderjitSF commented on August 10, 2024

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.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.