Xcode has been upgraded from Ver12.5 to 13.3.1.
The following error is displayed when checking with iPad OS 15.4.1.
objc[8006]: Class FIRAAdExposureReporter is implemented in both /private/var/containers/Bundle/Application/B81D6308-C24C-4E20-AA2B-F31498E76E80/BaseBallPremium.app/BaseBallPremium (0x103b48e90) and /private/var/containers/Bundle/Application/B81D6308-C24C-4E20-AA2B-F31498E76E80/BaseBallPremium.app/Frameworks/UnityFramework.framework/UnityFramework (0x10e808ab0). One of the two will be used. Which one is undefined.
objc[8006]: Class FIRAConditionalUserProperty is implemented in both /private/var/containers/Bundle/Application/B81D6308-C24C-4E20-AA2B-F31498E76E80/BaseBallPremium.app/BaseBallPremium (0x103b48ee0) and /private/var/containers/Bundle/Application/B81D6308-C24C-4E20-AA2B-F31498E76E80/BaseBallPremium.app/Frameworks/UnityFramework.framework/UnityFramework (0x10e808b00). One of the two will be used. Which one is undefined.
objc[8006]: Class FIRAConditionalUserPropertyController is implemented in both /private/var/containers/Bundle/Application/B81D6308-C24C-4E20-AA2B-F31498E76E80/BaseBallPremium.app/BaseBallPremium (0x103b48f30) and /private/var/containers/Bundle/Application/B81D6308-C24C-4E20-AA2B-F31498E76E80/BaseBallPremium.app/Frameworks/UnityFramework.framework/UnityFramework (0x10e808b50). One of the two will be used. Which one is undefined.
Some error sentences are omitted due to the limitation of the number of characters.
I thought that there was a duplication of frameworks here, so I checked "Generai → Frameworks, Libraries, and Embedded Content" of Unity-iPhone and Unity Framework, but there was no duplication.
Also, when this error occurs, the app cannot be started and will end.
Where else should I look and fix it?
The development environment is
mac OS: 12.3.1
Xcode: 13.3.1
Confirmation terminal OS: 15.4.1
Will be.
I look forward to working with you.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I would like to ask you about the app update when upgrading the iOS app.
If the app is currently being upgraded, a cloud mark will appear next to the app name,
I heard that when you touch the icon, it will be updated automatically.
I wanted to know how to do this, so I looked it up, but the app when the data disappears from the storage
Only the information of was given, and the forced update method when there was a version upgrade was not written.
Is there any value to set on the Xcode side?
Or is there a place to set in App Store Connect?
Xcode uses Ver 12.4.
I look forward to working with you.
We are developing with objective-c.
I am trying to operate a project created about 6 years ago and operated until about 4 years ago with the version of Xcode 12.5 again.
There is a place to process by touching the thumbnail image,
・ On iPhone 5 devices with iOS 10.3.4, a notification will be sent to touches Ended.
・ Notification does not come to touchesEnded on iPad (7th generation) of iOS 14.8.1.
・ Notification does not come to touchesEnded on the emulator of iPhone12.
The behavior is different like.
Thumbnail image
- (void)setupLayer
{
imageLayer_ = [[UIImageView alloc]initWithFrame:self.bounds];
imageLayer_.frame = self.bounds;
videoLayer_ = [[UIImageView alloc]initWithFrame:self.bounds];
videoLayer_.frame = self.bounds;
duration_ = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 40, 15)];
duration_.backgroundColor = [UIColor clearColor];
duration_.frame = CGRectMake(30, 60, 40, 15);
[self addSubview:imageLayer_];
[self addSubview:videoLayer_];
[self addSubview:duration_];
}
- (void)setSelected:(BOOL)selected
{
thumbnail_.selected = selected;
//self.btImageView.userInteractionEnabled = YES;
if (selected) {
if (selectedCover_ == nil) {
selectedCover_ = [[ThumbnailViewCellSelectedCover alloc]initWithFrame:self.bounds];
selectedCover_.backgroundColor = [UIColor clearColor];
}
[self addSubview:selectedCover_];
} else {
[selectedCover_ removeFromSuperview];
}
}
- (id)init
{
self = [super initWithFrame:CGRectMake(0, 0, 75, 75)];
if (self) {
[self setupLayer];
}
return self;
}
- (void)dealloc
{
SAFE_RELEASE(imageLayer_);
SAFE_RELEASE(videoLayer_);
SAFE_RELEASE(duration_);
[thumbnail_ release];
[selectedCover_ release];
[super dealloc];
}
- (void)setThumbnail:(Thumbnail *)thumbnail
{
isSetup = YES;
SAFE_RELEASE(thumbnail_);
thumbnail_ = [thumbnail retain];
NSString *imageName = [PBApplicationDirectoryManager getFullFilePathWithFilePath:thumbnail.photo.thumbnail];
[self setSelected:thumbnail.selected];
}
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
if (!isSetup) {
return;
}
NSMutableDictionary *params = [[NSMutableDictionary alloc]init];
[params setValue:[NSString stringWithFormat:@"%ld", (long)thumbnail_.index] forKey:@"index"];
[params setValue:[NSString stringWithFormat:@"%@", ((thumbnail_.selected == YES)?@"YES":@"NO")] forKey:@"selected"];
[params setValue:self forKey:@"thumbnailView"];
NSNotificationCenter *center = [NSNotificationCenter defaultCenter];
NSNotification *notification = [NSNotification notificationWithName:ThumbnailTouchEvent object:self userInfo:params];
[center postNotification:notification];
[params release];
}
I am creating it with a code like this.
Since it works on the iPhone 5 terminal of iOS 10.3.4, I think that it is not a code problem but a setting due to the difference in OS version is necessary.
What should i add
I look forward to working with you.
We are developing with objective-c.
Allocate the UITableViewCell class to the screen of the UITableView class and
I'm trying to allocate an image of the UIView class in the process inside the UITableViewCell class and process the touch event for it.
touchesEnded is not called.
Below is part of the code.
// UITableView:PhotoListViewController.m
- (void)viewDidLoad
{
[super viewDidLoad];
if (self.tableView == nil) {
self.tableView = [[UITableView alloc]initWithFrame:self.view.frame style:UITableViewStylePlain];
self.tableView.backgroundColor = BODY_COLOR;
self.tableView.translatesAutoresizingMaskIntoConstraints = NO;
if (@available(iOS 11.0, *)) {
self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentAutomatic;
}
[self.tableView.layer setBorderColor:LOG_COLOR.CGColor];
[self.tableView.layer setBorderWidth:4.0f];
self.tableView.delegate = self;
self.tableView.dataSource = self;
[self.view addSubview:self.tableView];
}
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.userInteractionEnabled = YES;
self.view.userInteractionEnabled = YES;
//savebutton
CGRect frame = saveBarController_.view.frame;
frame.origin.y = self.tableView.frame.size.height;
saveBarController_.view.frame = frame;
[self.view addSubview:saveBarController_.view];
PRINT_RECT(saveBarController_.view.frame);
[self.tableView reloadData];
PBDataManager *manager = [[[PBDataManager alloc]init] autorelease];
[manager save:nil];
}
- (UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"cell";
ThumbnailCell *cell = (ThumbnailCell *)[aTableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[ThumbnailCell alloc]init]autorelease];
}
[cell setThumbnail:[thumbnailManager_ thumbnailAtRow:indexPath.row]];
cell.backgroundColor = [UIColor clearColor];
return cell;
}
// UITableViewCell:ThumbnailCell.m
- (id)init
{
self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"];
if (self) {
self.selectionStyle = UITableViewCellSelectionStyleNone;
thumbnailViews_ = [[NSArray arrayWithObjects:
[[[ThumbnailView alloc]init]autorelease]
,[[[ThumbnailView alloc]init]autorelease]
,[[[ThumbnailView alloc]init]autorelease]
,[[[ThumbnailView alloc]init]autorelease]
,nil]retain];
int count = 1;
int margin = 4;
int width = 75;
for (ThumbnailView *thumb in thumbnailViews_) {
thumb.frame = CGRectMake(count * margin + (count-1) * width, 4, 75, 75);
thumb.autoresizingMask = 0;
thumb.userInteractionEnabled = YES;
[self addSubview:thumb];
count++;
}
}
return self;
}
// UIView:ThumbnailView.m
- (id)init
{
self = [super initWithFrame:CGRectMake(0, 0, 75, 75)];
if (self) {
[self setupLayer];
}
return self;
}
- (void)setupLayer
{
imageLayer_ = [[UIImageView alloc]initWithFrame:self.bounds];
imageLayer_.frame = self.bounds;
videoLayer_ = [[UIImageView alloc]initWithFrame:self.bounds];
videoLayer_.frame = self.bounds;
duration_ = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 40, 15)];
duration_.backgroundColor = [UIColor clearColor];
duration_.frame = CGRectMake(30, 60, 40, 15);
[self addSubview:imageLayer_];
[self addSubview:videoLayer_];
[self addSubview:duration_];
}
- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
// Touch event is not notified
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
// Touch event is not notified
}
- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
// Touch event is not notified
}
- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
// Touch event is not notified
}
This is the code of an old project around 2016, and the touch event is not notified when running on the current OS.
iPhone5: iOS10.3.4
In contrast to the above code, you will receive a touch event notification on your device.
iPad (7th generation): iOS 15.1
You will not receive touch event notifications on your device.
I don't know the cause, so what should I do?
The development environment is
Xcode12.5
Will be.
I look forward to working with you.
I uploaded Xcode from 12.5 to 13.2.
Therefore
multiple commands produce '/{User}/library/developer/xcode/deriveddata/unity-iphone-aehtbmwxjmiaaifiqqgdtivoodpw/build/products/releaseforrunning-iphoneos/{app}.app/info.plist':
1) target 'unity-iphone' (project 'unity-iphone') has copy command from '/{User}/dev/unity/{project}/xc/info.plist' to '/{User}/library/developer/xcode/deriveddata/unity-iphone-aehtbmwxjmiaaifiqqgdtivoodpw/build/products/releaseforrunning-iphoneos/{app}.app/info.plist'
2) target 'unity-iphone' (project 'unity-iphone') has process command with output '/{User}/library/developer/xcode/deriveddata/unity-iphone-aehtbmwxjmiaaifiqqgdtivoodpw/build/products/releaseforrunning-iphoneos/{app}.app/info.plist'
I get an error like this.
At the time of 12.5, we corresponded by setting the build setting to Legacy Build System.
However, in 13.2, an error occurs and the build cannot be performed because it is not recommended.
Delete the copy source info.plist
Turn on for install builds only for Embed Pods Framework
However, the built application crashed or remained stuck with a black screen.
What other fixes are there?
Thank you.