Skip to content

Commit fdf7ff9

Browse files
authored
Merge pull request #29 from santhoshvai/master
feat: add M1 support
2 parents c9d0b66 + 6120512 commit fdf7ff9

8 files changed

Lines changed: 146 additions & 81 deletions

ios/BridgingFile.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//
2+
// BridgingFile.swift
3+
// testingrnapps
4+
//
5+
// Created by santhosh vaiyapuri on 15/06/2022.
6+
//
7+
8+
import Foundation

ios/Podfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ target 'testingrnapps' do
2121
# you should disable these next few lines.
2222
use_flipper!()
2323
post_install do |installer|
24+
installer.pods_project.build_configurations.each do |config|
25+
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
26+
end
2427
react_native_post_install(installer)
2528
__apply_Xcode_12_5_M1_post_install_workaround(installer)
2629
end

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,6 @@ SPEC CHECKSUMS:
561561
Yoga: c11abbf5809216c91fcd62f5571078b83d9b6720
562562
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
563563

564-
PODFILE CHECKSUM: 1ccbbc53d463b1c06b257ceb257f07b13835a906
564+
PODFILE CHECKSUM: 306d1ceaa151d54066c1d3a5533d6ae9965da83b
565565

566-
COCOAPODS: 1.11.0.beta.2
566+
COCOAPODS: 1.11.2
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//
2+
// Use this file to import your target's public headers that you would like to expose to Swift.
3+
//
4+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//
2+
// Use this file to import your target's public headers that you would like to expose to Swift.
3+
//
4+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//
2+
// Use this file to import your target's public headers that you would like to expose to Swift.
3+
//
4+

ios/testingrnapps.xcodeproj/project.pbxproj

Lines changed: 117 additions & 79 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//
2+
// Use this file to import your target's public headers that you would like to expose to Swift.
3+
//
4+

0 commit comments

Comments
 (0)