You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add Mac Catalyst support for my existing iOS app.
Expected Results
I expect the Xcode to build the app for release when I select Archive for the Mac target.
Actual Results
Building works for "My Mac" (development), but doesn't work for "Archive" (release). Error:
"/Users/gk/Library/Developer/Xcode/DerivedData/RealmTest-aujphqtuarytmidttxmqzkwezbbs/Build/Intermediates.noindex/ArchiveIntermediates/RealmTest/BuildProductsPath/Release-maccatalyst/Realm/Realm.framework/Modules/module.modulemap:2:21: Umbrella header 'Realm.h' not found"
Steps for others to Reproduce
create new iOS project in Xcode
pod init
add 'Realm' and 'Realm/Headers' to Podfile
pod install
open xcworkspace
add import into ViewController.m
add Mac target
select any Mac target then hit "Archive"
Code Sample
ViewController.m:
//
// ViewController.m
// RealmTest
//
// Created by GK on 2021.04.18..
//
#import "ViewController.h"
@import Realm;
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
}
@end
Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'RealmTest' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for RealmTest
pod 'Realm'
pod 'Realm/Headers'
end
Version of Realm and Tooling
Realm framework version: Realm (10.7.2)
Realm Object Server version: ?
Xcode version: 12.4
iOS/OSX version: 11.2.3
Dependency manager + version: Cocoapods 1.10.1
The text was updated successfully, but these errors were encountered:
Goals
I want to add Mac Catalyst support for my existing iOS app.
Expected Results
I expect the Xcode to build the app for release when I select Archive for the Mac target.
Actual Results
Building works for "My Mac" (development), but doesn't work for "Archive" (release). Error:
"/Users/gk/Library/Developer/Xcode/DerivedData/RealmTest-aujphqtuarytmidttxmqzkwezbbs/Build/Intermediates.noindex/ArchiveIntermediates/RealmTest/BuildProductsPath/Release-maccatalyst/Realm/Realm.framework/Modules/module.modulemap:2:21: Umbrella header 'Realm.h' not found"
Steps for others to Reproduce
Code Sample
ViewController.m:
Podfile:
Version of Realm and Tooling
Realm framework version: Realm (10.7.2)
Realm Object Server version: ?
Xcode version: 12.4
iOS/OSX version: 11.2.3
Dependency manager + version: Cocoapods 1.10.1
The text was updated successfully, but these errors were encountered: