Posts

Post not yet marked as solved
0 Replies
395 Views
I am developing new version for Mapp Intelligence library (https://github.com/mapp-digital/MappIntelligence-iOS-v5) and I had to rename few classes at the latest version to avoid collision with some other library when they are added together. After that when I run pod lib lint command if gives me errors for every renamed class that can not find the relative path for it. Encountered an unknown error (No such file or directory @ realpath_rec - /Users/***/Desktop/novagrana/MappIntelligence-iOS-v5/MappIntelligence/UserMatching/DeviceID/APXIdentifier.h) during validation. and APXIdentifier.h is an old name not renamed one. I have tried to remove derived data and cache but no success, also remove cocoa pods and install them again, no success. When I am renaming class with Xcode right click on class name then rename option, it renames it well everywhere and it builds successfully but for relative path rec, do I need to change something where I can find this? Thanks in advance, Stefan
Posted Last updated
.
Post not yet marked as solved
0 Replies
593 Views
I am writing SDK which will be used by watchOS apps. I need to catch the moment when the app is closed like at image. Or even when app cames from not running state to active state. For now I can only catch transition from inactive to active.I already try:_applicationWillEnterForegroundObserver = [notificationCenter addObserverForName:@"UIApplicationWillEnterForegroundNotification" object:NULL queue:NULL usingBlock:^(NSNotification * _Nonnull note) { [self willEnterForeground]; }]; _applicationDidBecomeActiveObserver = [notificationCenter addObserverForName: @"UIApplicationDidBecomeActiveNotification" object:NULL queue:NULL usingBlock:^(NSNotification * _Nonnull note) { [self didBecomeActive]; }]; [notificationCenter addObserverForName:@"UIApplicationWillTerminateNotification" object:NULL queue:NULL usingBlock:^(NSNotification * _Nonnull note) { [self willTerminate]; }]; _applicationWillResignActiveObserver = [notificationCenter addObserverForName:@"UIApplicationWillResignActiveNotification" object:NULL queue:NULL usingBlock:^(NSNotification * _Nonnull note) { [self willResignActive]; }];How can I achieve this?
Posted Last updated
.