Skip to content

Commit

Permalink
fix(ios): build module platform/xcframwork symbolic links (#13811)
Browse files Browse the repository at this point in the history
* feat: add option to exclude dir(s) from compiling to assests catalog when app-thinning is used

* Update gather.js

fixed lint error

* feat: fixed lint error

* fixed RegEx Lint warning

* fix(ios): build module platform/xcframwork symbolic links

build module platform/*.xcframwork symbolic links

* fix(ios): build module platform/xcframwork symbolic links

* feat(ios):  added scrollEnabled and removeInputAccessoryView to webView

* Revert "feat(ios):  added scrollEnabled and removeInputAccessoryView to webView"

This reverts commit 5e6ffc3.

* Update iphone/cli/commands/_buildModule.js

the entryData parameter works! :-)

Co-authored-by: Chris Barber <chris.barber@vercel.com>

* chore: fix linting issue

* chore: fix linting

Co-authored-by: Chris Barber <chris.barber@vercel.com>

---------

Co-authored-by: Chris Barber <chris.barber@vercel.com>
Co-authored-by: Hans Knöchel <hansemannn@users.noreply.github.com>
  • Loading branch information
3 people committed Apr 24, 2023
1 parent 3838f7a commit 9972afc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions iphone/cli/commands/_buildModule.js
Expand Up @@ -915,12 +915,11 @@ iOSModuleBuilder.prototype.packageModule = function packageModule(next) {

// 3. platform folder
if (fs.existsSync(this.platformDir)) {
this.dirWalker(this.platformDir, function (file, name) {
var stat = fs.statSync(file);
if (name !== 'README.md') {
dest.append(fs.createReadStream(file), { name: path.join(moduleFolders, 'platform', path.relative(this.platformDir, file)), mode: stat.mode });
}
}.bind(this));
dest.directory(
this.platformDir,
path.join(moduleFolders, 'platform'),
(entryData) => (entryData.name === 'README.md' ? false : entryData)
);
}

// 4. hooks folder
Expand Down

0 comments on commit 9972afc

Please sign in to comment.