Q&A

Unity iOS given msg in Xcode "Use of undeclared identifier 'LineSDKLoginManager"

前提・実現したいこと

Using LineSDK for iOS in Xcode...

発生している問題・エラーメッセージ

Use of undeclared identifier 'LineSDKLoginManager'

該当のソースコード

//
//  LineSDKURLOpenning.m
//
//  Copyright (c) 2019-present, LINE Corporation. All rights reserved.
//
//  You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
//  copy and distribute this software in source code or binary form for use
//  in connection with the web services and APIs provided by LINE Corporation.
//
//  As with any software that integrates with the LINE Corporation platform, your use of this software
//  is subject to the LINE Developers Agreement [http://terms2.line.me/LINE_Developers_Agreement].
//  This copyright notice shall be included in all copies or substantial portions of the software.
//
//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

#import "LineSDKURLOpenning.h"

#if LINESDK_COCOAPODS
@import LineSDK;
#else
@import LineSDKObjC;
#endif

@implementation LineSDKURLOpenning

+ (void)openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation {
    NSDictionary<UIApplicationOpenURLOptionsKey, id> *dic = @{}.mutableCopy;
    [dic setValue:sourceApplication forKey:UIApplicationOpenURLOptionsSourceApplicationKey];
    [dic setValue:annotation forKey:UIApplicationOpenURLOptionsAnnotationKey];

    (void)[[LineSDKLoginManager sharedManager] application:[UIApplication sharedApplication] open:url options:dic];
}

@end

試したこと

https://github.com/nrikiji/cordova-line-login-plugin/issues/38

補足情報(FW/ツールのバージョンなど)

macOS 12.4 Unity 2021.3.1f Xcode 13.4(13F17a)

ScreenShots

https://drive.google.com/drive/folders/1BztsBcGQn7Fpuprw_TZrSDSxjuPMdv4O?usp=sharing

  • 0
  • 1
  • 598
  • twitter facebook

私の質問に答えることができる人はいませんか?ㅠㅠ

  • 0

Similar posts

    No similar posts

Are you sure? question.vm