Help Center > > FAQs> Secondary Development> FAQs About Product Development> Profile Definition> Incorrect File Format Is Displayed When Uploading a Profile to the Developer Center

Incorrect File Format Is Displayed When Uploading a Profile to the Developer Center

Updated at: Jun 26, 2019 GMT+08:00

  1. Check whether the format of each JSON file is correct. You can use the online JSON verification format tool.
  2. Check whether the values of commands and properties in the servicetype-capability.json file are in the array format (whether the value is enclosed in the brackets).
  3. Check whether the profile package contains hidden files. If yes, delete the files and upload the profile package again. The Mac is used as an example to describe how to view hidden files:

    1. Start the Terminal program.
    2. Enter the following command: defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder.
    3. Press Return. The hidden files and folders are displayed in the Finder window.
      NOTE:

      To restore the hidden settings, run the following command:

      defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel