前提・実現したいこと
iOS SimuratorでTextFieldをtap時に下記メッセージが発現。
発生している問題・エラーメッセージ
objc[3768]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1290eabb8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x135f85210). One of the two will be used. Which one is undefined. objc[3768]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1290eab90) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x135f85238). One of the two will be used. Which one is undefined.
該当のソースコード
Swift
1import SwiftUI 2struct ContentView: View { 3 @State private var item: String = "" 4 var body: some View { 5 TextField("検索キーワード", text: $item) 6 .textFieldStyle(RoundedBorderTextFieldStyle()) 7 } 8} 9 10struct ContentView_Previews: PreviewProvider { 11 static var previews: some View { 12 ContentView() 13 } 14}
試したこと
似たような現象がpodfile修正で治るみたいですが、本件はpodの利用なし。
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
iOS Simulator のバグだと思って無視してます…。
https://developer.apple.com/forums/thread/699878
回答1件
あなたの回答
tips
プレビュー