From 809efffc2028ee1fcc75ff12b2741d22617805f0 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 29 Jul 2025 20:21:09 +0100 Subject: [PATCH] remove git folder --- packages/ios-test-app/RNTestApp | 1 - .../RNTestApp.xcodeproj/project.pbxproj | 363 ++++++++++++++++++ .../RNTestApp/RNTestApp/AppDelegate.h | 19 + .../RNTestApp/RNTestApp/AppDelegate.m | 40 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 35 ++ .../RNTestApp/Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 ++ .../RNTestApp/Base.lproj/Main.storyboard | 24 ++ .../RNTestApp/RNTestApp/Info.plist | 25 ++ .../RNTestApp/RNTestApp/SceneDelegate.h | 15 + .../RNTestApp/RNTestApp/SceneDelegate.m | 57 +++ .../RNTestApp/RNTestApp/ViewController.h | 14 + .../RNTestApp/RNTestApp/ViewController.m | 23 ++ .../ios-test-app/RNTestApp/RNTestApp/main.m | 18 + .../RNTesterPods.xcodeproj/project.pbxproj | 94 +++-- 16 files changed, 741 insertions(+), 29 deletions(-) delete mode 160000 packages/ios-test-app/RNTestApp create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp.xcodeproj/project.pbxproj create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.h create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.m create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/Contents.json create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/LaunchScreen.storyboard create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/Main.storyboard create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/Info.plist create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.h create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.m create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/ViewController.h create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/ViewController.m create mode 100644 packages/ios-test-app/RNTestApp/RNTestApp/main.m diff --git a/packages/ios-test-app/RNTestApp b/packages/ios-test-app/RNTestApp deleted file mode 160000 index 8d82bf1fb20..00000000000 --- a/packages/ios-test-app/RNTestApp +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8d82bf1fb201f5d048e39c5404fcd9adc6f21cb1 diff --git a/packages/ios-test-app/RNTestApp/RNTestApp.xcodeproj/project.pbxproj b/packages/ios-test-app/RNTestApp/RNTestApp.xcodeproj/project.pbxproj new file mode 100644 index 00000000000..568614ad3b0 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp.xcodeproj/project.pbxproj @@ -0,0 +1,363 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXBuildFile section */ + CD95FD5D2E39134700E016B7 /* React in Frameworks */ = {isa = PBXBuildFile; productRef = CD95FD5C2E39134700E016B7 /* React */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + CD95FD3E2E3912C800E016B7 /* RNTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ + CD95FD552E3912C900E016B7 /* Exceptions for "RNTestApp" folder in "RNTestApp" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = CD95FD3D2E3912C800E016B7 /* RNTestApp */; + }; +/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + CD95FD402E3912C800E016B7 /* RNTestApp */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + CD95FD552E3912C900E016B7 /* Exceptions for "RNTestApp" folder in "RNTestApp" target */, + ); + path = RNTestApp; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + CD95FD3B2E3912C800E016B7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CD95FD5D2E39134700E016B7 /* React in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CD95FD352E3912C800E016B7 = { + isa = PBXGroup; + children = ( + CD95FD402E3912C800E016B7 /* RNTestApp */, + CD95FD3F2E3912C800E016B7 /* Products */, + ); + sourceTree = ""; + }; + CD95FD3F2E3912C800E016B7 /* Products */ = { + isa = PBXGroup; + children = ( + CD95FD3E2E3912C800E016B7 /* RNTestApp.app */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CD95FD3D2E3912C800E016B7 /* RNTestApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = CD95FD562E3912C900E016B7 /* Build configuration list for PBXNativeTarget "RNTestApp" */; + buildPhases = ( + CD95FD3A2E3912C800E016B7 /* Sources */, + CD95FD3B2E3912C800E016B7 /* Frameworks */, + CD95FD3C2E3912C800E016B7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + CD95FD402E3912C800E016B7 /* RNTestApp */, + ); + name = RNTestApp; + packageProductDependencies = ( + CD95FD5C2E39134700E016B7 /* React */, + ); + productName = RNTestApp; + productReference = CD95FD3E2E3912C800E016B7 /* RNTestApp.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CD95FD362E3912C800E016B7 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastUpgradeCheck = 1640; + TargetAttributes = { + CD95FD3D2E3912C800E016B7 = { + CreatedOnToolsVersion = 16.4; + }; + }; + }; + buildConfigurationList = CD95FD392E3912C800E016B7 /* Build configuration list for PBXProject "RNTestApp" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CD95FD352E3912C800E016B7; + minimizedProjectReferenceProxies = 1; + packageReferences = ( + CD95FD5B2E39134700E016B7 /* XCLocalSwiftPackageReference "../../react-native" */, + ); + preferredProjectObjectVersion = 77; + productRefGroup = CD95FD3F2E3912C800E016B7 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CD95FD3D2E3912C800E016B7 /* RNTestApp */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CD95FD3C2E3912C800E016B7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CD95FD3A2E3912C800E016B7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + CD95FD572E3912C900E016B7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + HEADER_SEARCH_PATHS = ( + "/Users/cipolleschi/Official/react-native/packages/react-native/.build/headers", + "/Users/cipolleschi/Official/react-native/packages/react-native/ReactCommon/yoga", + ); + INFOPLIST_FILE = RNTestApp/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.rntest.RNTestApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + CD95FD582E3912C900E016B7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + HEADER_SEARCH_PATHS = ( + "/Users/cipolleschi/Official/react-native/packages/react-native/.build/headers", + "/Users/cipolleschi/Official/react-native/packages/react-native/ReactCommon/yoga", + ); + INFOPLIST_FILE = RNTestApp/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.rntest.RNTestApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + CD95FD592E3912C900E016B7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + CD95FD5A2E3912C900E016B7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.5; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CD95FD392E3912C800E016B7 /* Build configuration list for PBXProject "RNTestApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CD95FD592E3912C900E016B7 /* Debug */, + CD95FD5A2E3912C900E016B7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CD95FD562E3912C900E016B7 /* Build configuration list for PBXNativeTarget "RNTestApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CD95FD572E3912C900E016B7 /* Debug */, + CD95FD582E3912C900E016B7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + CD95FD5B2E39134700E016B7 /* XCLocalSwiftPackageReference "../../react-native" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = "../../react-native"; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + CD95FD5C2E39134700E016B7 /* React */ = { + isa = XCSwiftPackageProductDependency; + productName = React; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = CD95FD362E3912C800E016B7 /* Project object */; +} diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.h b/packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.h new file mode 100644 index 00000000000..dcec79af86a --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.h @@ -0,0 +1,19 @@ +// +// AppDelegate.h +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import +#import +#import + +@interface AppDelegate : RCTDefaultReactNativeFactoryDelegate + +@property (nonatomic, strong, nonnull) UIWindow *window; +@property (nonatomic, strong, nonnull) RCTReactNativeFactory *reactNativeFactory; + + +@end + diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.m b/packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.m new file mode 100644 index 00000000000..39f9ce85f4a --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/AppDelegate.m @@ -0,0 +1,40 @@ +// +// AppDelegate.m +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Override point for customization after application launch. + return YES; +} + + +#pragma mark - UISceneSession lifecycle + + +- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role]; +} + + +- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet *)sceneSessions { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. +} + + +@end diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AccentColor.colorset/Contents.json b/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 00000000000..eb878970081 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000000..2305880107d --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/Contents.json b/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/Contents.json new file mode 100644 index 00000000000..73c00596a7f --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/LaunchScreen.storyboard b/packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000000..865e9329f37 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/Main.storyboard b/packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/Main.storyboard new file mode 100644 index 00000000000..808a21ce779 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/Info.plist b/packages/ios-test-app/RNTestApp/RNTestApp/Info.plist new file mode 100644 index 00000000000..81ed29b76cf --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.h b/packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.h new file mode 100644 index 00000000000..666b89677a7 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.h @@ -0,0 +1,15 @@ +// +// SceneDelegate.h +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import + +@interface SceneDelegate : UIResponder + +@property (strong, nonatomic) UIWindow * window; + +@end + diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.m b/packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.m new file mode 100644 index 00000000000..f954f46ae58 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/SceneDelegate.m @@ -0,0 +1,57 @@ +// +// SceneDelegate.m +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import "SceneDelegate.h" + +@interface SceneDelegate () + +@end + +@implementation SceneDelegate + + +- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). +} + + +- (void)sceneDidDisconnect:(UIScene *)scene { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). +} + + +- (void)sceneDidBecomeActive:(UIScene *)scene { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. +} + + +- (void)sceneWillResignActive:(UIScene *)scene { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). +} + + +- (void)sceneWillEnterForeground:(UIScene *)scene { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. +} + + +- (void)sceneDidEnterBackground:(UIScene *)scene { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. +} + + +@end diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/ViewController.h b/packages/ios-test-app/RNTestApp/RNTestApp/ViewController.h new file mode 100644 index 00000000000..db013908c5a --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/ViewController.h @@ -0,0 +1,14 @@ +// +// ViewController.h +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import + +@interface ViewController : UIViewController + + +@end + diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/ViewController.m b/packages/ios-test-app/RNTestApp/RNTestApp/ViewController.m new file mode 100644 index 00000000000..5c033a17794 --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/ViewController.m @@ -0,0 +1,23 @@ +// +// ViewController.m +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import "ViewController.h" + +@interface ViewController () + +@end + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + // Do any additional setup after loading the view. + self.view.backgroundColor = [UIColor redColor]; +} + + +@end diff --git a/packages/ios-test-app/RNTestApp/RNTestApp/main.m b/packages/ios-test-app/RNTestApp/RNTestApp/main.m new file mode 100644 index 00000000000..a56bbef334f --- /dev/null +++ b/packages/ios-test-app/RNTestApp/RNTestApp/main.m @@ -0,0 +1,18 @@ +// +// main.m +// RNTestApp +// +// Created by Riccardo Cipolleschi on 29/07/2025. +// + +#import +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + NSString * appDelegateClassName; + @autoreleasepool { + // Setup code that might create autoreleased objects goes here. + appDelegateClassName = NSStringFromClass([AppDelegate class]); + } + return UIApplicationMain(argc, argv, nil, appDelegateClassName); +} diff --git a/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj b/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj index 35b7300c26f..4ceae9d500a 100644 --- a/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj +++ b/packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 60; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -16,6 +16,7 @@ 5C60EB1C226440DB0018C04F /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5C60EB1B226440DB0018C04F /* AppDelegate.mm */; }; 8145AE06241172D900A3F8DA /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8145AE05241172D900A3F8DA /* LaunchScreen.storyboard */; }; 832F45BB2A8A6E1F0097B4E6 /* SwiftTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 832F45BA2A8A6E1F0097B4E6 /* SwiftTest.swift */; }; + A36E4394472D388C2F6BBABA /* libPods-RNTester.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 48A747D61749335D863001E9 /* libPods-RNTester.a */; }; A975CA6C2C05EADF0043F72A /* RCTNetworkTaskTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A975CA6B2C05EADE0043F72A /* RCTNetworkTaskTests.m */; }; BF2C34488C1E5FF62D331DD4 /* libPods-RNTesterUnitTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E89C730A8F64BC35672D4D81 /* libPods-RNTesterUnitTests.a */; }; CD10C7A5290BD4EB0033E1ED /* RCTEventEmitterTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CD10C7A4290BD4EB0033E1ED /* RCTEventEmitterTests.m */; }; @@ -174,6 +175,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + A36E4394472D388C2F6BBABA /* libPods-RNTester.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -376,11 +378,14 @@ isa = PBXNativeTarget; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNTester" */; buildPhases = ( + ABDE2A52ACD1B95E14790B5E /* [CP] Check Pods Manifest.lock */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, 68CD48B71D2BCB2C007E06A9 /* Build JS Bundle */, 79E8BE2B119D4C5CCD2F04B3 /* [RN] Copy Hermes Framework */, + 02B6FEF7E86B613B42F31284 /* [CP] Embed Pods Frameworks */, + 5625E703156DD564DE9175B0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -463,9 +468,6 @@ Base, ); mainGroup = 83CBB9F61A601CBA00E9B192; - packageReferences = ( - CD95FD342E39111300E016B7 /* XCLocalSwiftPackageReference "../react-native" */, - ); productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -516,19 +518,32 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests-resources-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests-resources-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; + 02B6FEF7E86B613B42F31284 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-RNTester/Pods-RNTester-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-RNTester/Pods-RNTester-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNTester/Pods-RNTester-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 4F27ACC9DB890B37D6C267F1 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -537,14 +552,10 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterIntegrationTests/Pods-RNTesterIntegrationTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterIntegrationTests/Pods-RNTesterIntegrationTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNTesterIntegrationTests/Pods-RNTesterIntegrationTests-frameworks.sh\"\n"; @@ -572,6 +583,23 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 5625E703156DD564DE9175B0 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-RNTester/Pods-RNTester-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-RNTester/Pods-RNTester-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNTester/Pods-RNTester-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 68CD48B71D2BCB2C007E06A9 /* Build JS Bundle */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -614,19 +642,37 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; + ABDE2A52ACD1B95E14790B5E /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RNTester-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; B7EB74515CDE78D98087DD53 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -657,14 +703,10 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterIntegrationTests/Pods-RNTesterIntegrationTests-resources-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-RNTesterIntegrationTests/Pods-RNTesterIntegrationTests-resources-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNTesterIntegrationTests/Pods-RNTesterIntegrationTests-resources.sh\"\n"; @@ -757,7 +799,10 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; DEVELOPMENT_TEAM = ""; - HEADER_SEARCH_PATHS = "$(inherited)"; + HEADER_SEARCH_PATHS = ( + "${PODS_ROOT}/Headers/Private/Yoga", + "$(inherited)", + ); INFOPLIST_FILE = "$(SRCROOT)/RNTester/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 15.1; LD_RUNPATH_SEARCH_PATHS = ( @@ -1206,13 +1251,6 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ - -/* Begin XCLocalSwiftPackageReference section */ - CD95FD342E39111300E016B7 /* XCLocalSwiftPackageReference "../react-native" */ = { - isa = XCLocalSwiftPackageReference; - relativePath = "../react-native"; - }; -/* End XCLocalSwiftPackageReference section */ }; rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; }