teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ファイルの場所を追記

2017/07/28 12:13

投稿

Riscait
Riscait

スコア35

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,4 @@
1
- ###前提・実現したいこと
1
+ #前提・実現したいこと
2
2
  Xcode にて Realm Swift を利用しアプリを App Store に公開しています。
3
3
 
4
4
  この度、データモデルのプロパティを1つ増やすために、マイグレーションが必要になると思い
@@ -6,7 +6,7 @@
6
6
  おそらく、マイグレーションの方法が間違っていて失敗しているとは思うのですが、
7
7
  か行ける方法が解りませんでした。
8
8
 
9
- ###発生している問題・エラーメッセージ
9
+ #発生している問題・エラーメッセージ
10
10
 
11
11
  ```
12
12
  objc[29350]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11f1e0cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11eff76f0). One of the two will be used. Which one is undefined.
@@ -16,9 +16,9 @@
16
16
  (lldb)
17
17
  ```
18
18
 
19
- ###該当のソースコード
19
+ #該当のソースコード
20
+ ##データモデル
20
21
  ```swift
21
- // データモデル
22
22
  import RealmSwift
23
23
 
24
24
  class RegisteredUQ: Object {
@@ -39,7 +39,7 @@
39
39
  }
40
40
  }
41
41
  ```
42
-
42
+ ##AppDelegate
43
43
  ```swift
44
44
  import UIKit
45
45
  import UserNotifications
@@ -91,9 +91,10 @@
91
91
  }
92
92
  }
93
93
  ```
94
+ ##エラー発生箇所
94
95
  ![エラー発生箇所](96b6ccb239fe98a915f8a42253de8f7f.png)
95
96
 
96
- ###試したこと
97
+ #試したこと
97
98
  試しにスキーマバージョンを10にして見ても同じくエラーでした。
98
- ###補足情報(言語/FW/ツール等のバージョンなど)
99
+ #補足情報(言語/FW/ツール等のバージョンなど)
99
100
  Xcode 8.3.3 Swift 3.1