カスタムウィジェットを作成し、それをlayout.xmlで宣言しています。また、attr.xmlにいくつかのカスタム属性を追加しました。ただし、styles.xmlのスタイルでこれらの属性を宣言しようとすると、No resource found that matches the given name: attr 'custom:attribute'. 私は入れているxmlns:custom="http://schemas.android.com/apk/res/com.my.package"など、のstyles.xmlのタグのすべてに<?xml>、<resources>と<style>、それはまだそれが私のカスタムXML名前空間を見つけることができないことを、私は同じエラーを与えます。 ただし、名前空間を使用して、layout.xmlのビューに属性を手動で割り当てることができるため、名前空間に問題はありません。私の問題は、styles.xmlが私のattr.xmlを認識するようにすることです。
CocoaPodsを使用するプロジェクトを構築できません。次のエラーが発生します。 diff: /../Podfile.lock: No such file or directory diff: Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.` $ pod install正常に動作しているようでPods、ワークスペースにプロジェクトを追加します。私は試しました$ pod updateが、これは助けにはなりません。 PODS_ROOT設定されていないようです。 Podfile: platform :ios, '6.0' workspace 'Example.xcworkspace' xcodeproj 'example/Example.xcodeproj' pod 'TestFlightSDK', '~> …