Posts

Post not yet marked as solved
1 Replies
880 Views
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.
Posted Last updated
.
Post not yet marked as solved
0 Replies
3.5k Views
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.
Posted Last updated
.
Post not yet marked as solved
1 Replies
591 Views
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.
Posted Last updated
.
Post not yet marked as solved
0 Replies
329 Views
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.
Posted Last updated
.
Post not yet marked as solved
0 Replies
216 Views
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.
Posted Last updated
.
Post not yet marked as solved
0 Replies
648 Views
I used ScreenCapture.CaptureScreenshot () to take a screenshot, but the result was a black image. ScreenCapture.CaptureScreenshot (fileName); float latency = 0, latencyLimit = 40; while (latency <latencyLimit) { if (File.Exists (path)) { break; } latency + = Time.deltaTime; yield return null; } However, it does not occur in the lower version of the application developed here, It is a black image in the latest version. It does not occur on the old iPad terminal iOS9.3.5, but it occurs on devices with OS13 or later such as iPad Pro. I changed "Anti Aliasing" to "Disable" in Unity settings, but it was not improved. I changed the process of displaying the taken screenshot as a texture and changed the UI process around it, but I can not understand the cause well because the code to take the screenshot has not been changed. It would be helpful if you could tell me if there were any improvement settings here. Development environment 2018.3.13f1
Posted Last updated
.
Post not yet marked as solved
0 Replies
332 Views
Operation on iPad mini is unstable.The app does not start on "iOS 12.1.1 iPad mini 3rd generation".In "iOS 13.3.1 iPad mini 5th generation", the phenomenon that the app starts but hangs when loading is reported.Older devices such as the "iPad 2" and "iPad pro11" will work normally, so it is not a project that does not work.Other1. Camera and microphone settings to use.2. firebase implementation.It is a project called.Since there is no "iPad mini" terminal at hand and only reports have been received, detailed error situations are not understood and we are in trouble.Do you need special processing and settings for "iPad mini" devices?I am sorry that there is not much information, but I would be grateful if you could tell me how to solve the same phenomenon.Thank you.
Posted Last updated
.
Post not yet marked as solved
0 Replies
253 Views
We received a report from a user about an app that is being released that the app does not start up with a dark screen.This app has been confirmed to work properly.The user ’s deviceiPad mini2iOS 12.1.4is.I received a report that other apps are working without problems, so it does n’t seem to be a malfunction of the device.I want to know when this phenomenon occurs and how to deal with it.DevelopmentXcode 10.1 (10B61)macOS High Sierra (version 10.13.6)is.FirebaseSDK is implemented in the app.Thank you.
Posted Last updated
.
Post not yet marked as solved
0 Replies
339 Views
I am developing with Unity.I'm displaying the status bar in the iOS app, but I don't want to display "Return to previous app".void _HidesBackButton (){UINavigationController navigationController = (UINavigationController) UnityGetGLViewController ();navigationController.navigationItem.hidesBackButton = YES;}I created a plug-in and called it, but "Return to previous app" was displayed.How can I prevent it from being displayed?
Posted Last updated
.
Post not yet marked as solved
0 Replies
314 Views
When I checked the actual device on a device that was upgraded to iOS12.4.2, the screen remained dark.There are no changes to the app, and xcode has not been upgraded.We have also confirmed that it works properly with previous OS versions.Since the warning dialog when using the terminal function when starting the application is displayed, it does not seem to be hung.Is this possible by changing the xcode settings?macOS High SierraVersion 10.13.6XcodeVersion 10.1
Posted Last updated
.